Skip to content

D205 Support - Dag Processing#32449

Merged
potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:ferruzzi/pydocstyle-205/dag_processing
Jul 9, 2023
Merged

D205 Support - Dag Processing#32449
potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:ferruzzi/pydocstyle-205/dag_processing

Conversation

@ferruzzi

@ferruzzi ferruzzi commented Jul 8, 2023

Copy link
Copy Markdown
Contributor

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/dag_processing module.

To test

If you comment out this line and run pre-commit in main you will get 285 errors. After these changes, "only" 271 remain and no files in the dag_processing folder should be on the list. After uncommenting that line and rerunning pre-commits, there should be zero regressions.

@boring-cyborg boring-cyborg Bot added the area:Scheduler including HA (high availability) scheduler label Jul 8, 2023
@ferruzzi

ferruzzi commented Jul 8, 2023

Copy link
Copy Markdown
Contributor Author

Looking into it.

@ferruzzi

ferruzzi commented Jul 8, 2023

Copy link
Copy Markdown
Contributor Author

Hm. breeze build-docs passes locally.

image

@ferruzzi

ferruzzi commented Jul 8, 2023

Copy link
Copy Markdown
Contributor Author

Kicked the failing test in the ci after confirming that it passed locally and it's passing here now too. Just a blip I guess.

@potiuk
potiuk merged commit ea420ee into apache:main Jul 9, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.0 milestone Aug 2, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants