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

Add D202 pydocstyle check #11032

Merged
merged 18 commits into from
Sep 22, 2020
Merged

Add D202 pydocstyle check #11032

merged 18 commits into from
Sep 22, 2020

Conversation

pcandoalmeida
Copy link
Contributor

Enabled D202 Pydocstyle check

  • Fixed all pre-commit errors

Part of issue: #10742


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.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:CLI area:dev-tools area:Scheduler including HA (high availability) scheduler k8s labels Sep 20, 2020
Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

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

LGTM. Good work @pcandoalmeida

@kaxil
Copy link
Member

kaxil commented Sep 21, 2020

Let me know when you are happy to mark the "PR ready for review" -- I think it is but just want to make sure :)

@kaxil kaxil mentioned this pull request Sep 21, 2020
10 tasks
@pcandoalmeida pcandoalmeida marked this pull request as ready for review September 21, 2020 11:05
@pcandoalmeida
Copy link
Contributor Author

Hi @kaxil sorry, I was trying to find out why I was getting a K8s error. I'll see if I get an error with the latest CI run, might need to rebase.

@kaxil
Copy link
Member

kaxil commented Sep 21, 2020

Yeah don't worry about the Kubernetes tests, they are unrelated to the PR, looks like some transient error which we will look into.

pcandoalmeida and others added 8 commits September 21, 2020 18:15
We have now much better user-facing documentation.

Only the parts interesting for users of the image are
separated out to the "docs" of Airflow.
The README and IMAGES.rst contains links to those
docs and internal details of the images respectively.

Fixes apache#10997.
GitHub Actions allow to use `fromJson` method to read arrays
or even more complex json objects into the CI workflow yaml files.

This, connected with set::output commands, allows to read the
list of allowed versions as well as default ones from the
environment variables configured in
./scripts/ci/libraries/initialization.sh

This means that we can have one plece in which versions are
configured. We also need to do it in "breeze-complete" as this is
a standalone script that should not source anything we added
BATS tests to verify if the versions in breeze-complete
correspond with those defined in the initialization.sh

Also we do not limit tests any more in regular PRs now - we run
all combinations of available versions. Our tests run quite a
bit faster now so we should be able to run more complete
matrixes. We can still exclude individual values of the matrixes
if this is too much.

MySQL 8 is disabled from breeze for now. I plan a separate follow
up PR where we will run MySQL 8 tests (they were not run so far)
@kaxil
Copy link
Member

kaxil commented Sep 22, 2020

Can you rebase to the master, it should be better now

kaxil and others added 4 commits September 22, 2020 08:17
)

Previously all the tasks in airflow/example_dags/example_task_group.py were using DummyOperator which does not go to executor and is marked as success in Scheduler itself so it would be good to have some tasks that aren't dummy operator to properly test TaskGroup functionality
Remove ending / from s.apache.org Slack link
@pcandoalmeida
Copy link
Contributor Author

OK sure @kaxil 😃

@kaxil kaxil merged commit f3e87c5 into apache:master Sep 22, 2020
@pcandoalmeida pcandoalmeida deleted the pydocstyle-D202 branch September 22, 2020 15:51
@kaxil kaxil added provider:cncf-kubernetes Kubernetes provider related issues and removed area:k8s labels Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:CLI area:dev-tools area:Scheduler including HA (high availability) scheduler provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants