-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
D205 Support - Root files #33297
D205 Support - Root files #33297
Conversation
Updates setup.py, airflow/configuration.py, and airflow/exceptions.py
176273b
to
c95bbfd
Compare
Strange, wonder why the static checks are failing. It doesn't look related at first glance, but I'll poke at it this afternoon. |
Mypy was grumpy about some missing type hints. Not sure what in this PR triggered it, but I've fixed the complaints. |
Mypy is quite often grumpy about unrelated things. The old guy is useful anywwy, so we keep him around anyway |
* D205 Support - Root files Updates setup.py, airflow/configuration.py, and airflow/exceptions.py * missed one
* D205 Support - Root files Updates setup.py, airflow/configuration.py, and airflow/exceptions.py * missed one (cherry picked from commit 4755fe4)
Part of #10742
D205 asserts that all docstrings must have a one-line summary ending in a period. If there is more than one sentence then there must be a blank line before the rest of the docstring. Meeting these requirements could be as simple as adding a newline, or might require some rephrasing.
There are almost a thousand violations in the repo so we're going to have to take this in bites.
PLEASE NOTE
There should be zero logic changes in this PR, only changes to docstrings and whitespace. If you see otherwise, please call it out.
Included in this chunk
The last three "root" level files:
setup.py
,airflow/exceptions.py
, andairflow/configuration.py
To test
If you comment out this line and run pre-commit in main you will get 92 errors. After these changes, only 73 remain and no files in the list above should be on the list. After uncommenting that line and rerunning pre-commits, there should be zero regressions.