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 TCH001 and TCH002 rules to pre-commit to detect and move type checking modules #33865

Merged
merged 5 commits into from
Aug 31, 2023

Conversation

hussein-awala
Copy link
Member


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@hussein-awala
Copy link
Member Author

@potiuk do we cherry-pick dev and tests? is it ok to keep all these changes in the same PR or should I split them in smaller ones?

@hussein-awala hussein-awala changed the title Add TCH001 and TCH001 rules to pre-commit to detect and move type checking modules Add TCH001 and TCH002 rules to pre-commit to detect and move type checking modules Aug 28, 2023
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@hussein-awala hussein-awala merged commit 2f844c7 into apache:main Aug 31, 2023
64 checks passed
@potiuk
Copy link
Member

potiuk commented Sep 3, 2023

@potiuk do we cherry-pick dev and tests? is it ok to keep all these changes in the same PR or should I split them in smaller ones?

We do cherry-pick dev and tests except providers (we might cherry-pick some of them accidentally) - but I think with the current state of 2.7 this does not matter any more :D

@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 3, 2023
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 kind:documentation 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.

4 participants