-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Enable Black on Providers Packages #10543
Conversation
Great idea to enable black on Providers first! |
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.
Awesome! Should we apply black on tests/providers
?
Yup already applied |
Good! There is too much file to be able to load it all in Github 😄 |
… fixup! Fix mypy issues
… fixup! fixup! Fix mypy issues
… fixup! fixup! fixup! Fix mypy issues
Hi @kaxil Could you please also update the A Thanks, Tamas |
aah got your point, will do it, thanks |
Airflow just enabled Black on api_connexion and providers packages. They've updated their pre-commit hooks, but forgot to update the isort section in setup.cfg to ignore all those files. Left a comment for them to update their setup.cfg. apache/airflow#10543 (comment)
Thanks for the fast response! 👍 |
Should we configure isort to be compatible with black? |
It is even simpler by adding "black" profile to isort which is in #9550 which applies black to entire airflow repo. Waiting till we are close to 2.0 and then do a big bang so we don't need to cherrypick anymore and can pause the PRs for that time |
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
Based on apache/airflow#10543 (comment) GitOrigin-RevId: a0e7c40717758c4c93c3f11b249bbf6773043b45
This is part of #9550 but only applies Black formatting to providers packages as they are not included in v1-10-test so the problem for cherry-picking them does not arises.
If there are any open PR, they just need to run pre-commit and everything would be taken care off
^ Add meaningful description above
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.