Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on RTD #12551

Merged
merged 2 commits into from Nov 23, 2020
Merged

Fix build on RTD #12551

merged 2 commits into from Nov 23, 2020

Conversation

@mik-laj
Copy link
Member

@mik-laj mik-laj commented Nov 22, 2020

Related: #12541
RTD is very tricky and requires the name of the file conf.py even though the file may be named differently in the configuration file.
Failed build: https://readthedocs.org/projects/airflow/builds/12396195/
Build from my branch: https://readthedocs.org/projects/apache-airflow-dev/builds/


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@@ -524,6 +524,7 @@ repos:
language: system
entry: "./scripts/ci/pre_commit/pre_commit_mypy.sh"
files: ^docs/.*\.py$
exclude: rtd-deprecatipn
Copy link
Member Author

@mik-laj mik-laj Nov 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have two conf.py files and no init.py, mypy thinks we have two modules with the same name.

Loading

@mik-laj mik-laj requested review from turbaszek and potiuk Nov 22, 2020
@github-actions
Copy link

@github-actions github-actions bot commented Nov 23, 2020

The PR is ready to be merged. No tests are needed!

Loading

@mik-laj mik-laj merged commit 8e1a6e1 into apache:master Nov 23, 2020
29 checks passed
Loading
danielenricocahall added a commit to danielenricocahall/airflow that referenced this issue Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants