-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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 - WWW #33298
D205 Support - WWW #33298
Conversation
Add `Deprecation HTTP Header Field. | ||
|
||
See also: <https://tools.ietf.org/id/draft-dalal-deprecation-header-03.html>`__. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There’s a link syntax that’s broken here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted, thanks.
Turns out the link is dead. I did a search to find the new home of what should be there and it looks like it's an abandoned proposal: https://datatracker.ietf.org/doc/draft-dalal-deprecation-header/
I just updated the link, but maybe we should remove the link entirely?
* D205 Support - WWW * fix broken link
* D205 Support - WWW * fix broken link (cherry picked from commit 64c2a56)
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
All files in the
airflow/www
module.To test
If you comment out this line and run pre-commit in main you will get around 96 errors. After these changes, only 59 remain and none of the above files should be on the list. After uncommenting that line and rerunning pre-commits, there should be zero regressions.