Skip to content

D205 Support - Executors#32213

Merged
potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:ferruzzi/pydocstyle-205/pt2-executors
Jun 27, 2023
Merged

D205 Support - Executors#32213
potiuk merged 1 commit into
apache:mainfrom
aws-mwaa:ferruzzi/pydocstyle-205/pt2-executors

Conversation

@ferruzzi

@ferruzzi ferruzzi commented Jun 27, 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.

Included in this chunk

All files related to Executors should be included in this batch.

To test

If you comment out this line and run pre-commit in main you will get around 937 errors. After these changes, "only" 926 remain and none of the files in airflow/executors or similar locations should be on the list. After uncommenting that line and rerunning pre-commits, there should be zero regressions.

((...take one down, pass it around.... ))

@boring-cyborg boring-cyborg Bot added provider:cncf-kubernetes Kubernetes (k8s) provider related issues area:Scheduler including HA (high availability) scheduler labels Jun 27, 2023
@potiuk
potiuk merged commit bb2a8f8 into apache:main Jun 27, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.0 milestone Jul 6, 2023
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Jul 6, 2023
@ephraimbuddy ephraimbuddy added type:misc/internal Changelog: Misc changes that should appear in change log and removed type:improvement Changelog: Improvements labels 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 provider:cncf-kubernetes Kubernetes (k8s) provider related issues 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