-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
[AIRFLOW-5170] [AIRFLOW-5256] Consistent licences for python files and related pylint fixes #5786
[AIRFLOW-5170] [AIRFLOW-5256] Consistent licences for python files and related pylint fixes #5786
Conversation
@dimberman @BasPH @mik-laj -> next step after adding pre-commit checks. This check adds automatically enccoding pragma for all .py files and fixes all related pylint problems. @BasPH -> I also added a script to refresh pylint_todo.txt automatically (and remove all files that have been fixed so far) |
2ad7517
to
f8761b6
Compare
54ae759
to
2cd9734
Compare
@ashb @dimberman @Fokko -> this is the first additional set of checks (for python files) added after merging the pylint/mypy/flake checks in pre-commit. It will make our python code much more consistent (and fixes/disables a lot of pylint errors). We also have a script that can refresh pylint_todo.txt |
tests/kubernetes/kubernetes_request_factory/test_pod_request_factory.py
Outdated
Show resolved
Hide resolved
2cd9734
to
e2b016c
Compare
All reported so far resolved. |
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.
@potiuk Nice work as always. If you have time please look over my comments. :)
tests/kubernetes/kubernetes_request_factory/test_pod_request_factory.py
Outdated
Show resolved
Hide resolved
29bc9cc
to
c4a40c1
Compare
c4a40c1
to
55a3963
Compare
cd57c40
to
7059f9f
Compare
Anyone :) |
e299e12
to
6f01e2b
Compare
Should be all fixed now @feluelle |
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.
Sorry, I missed some..
After this is done and green you can merge it, imo :)
6f01e2b
to
7923879
Compare
@feluelle -> I think it will be green soon:) |
What happened @potiuk ? There are far less changes in the commit than before. |
Ups. I will take a look . Luckily Git does not forget things too easily |
7923879
to
db4526b
Compare
@feluelle - reflog to the rescue. All should be good now :). Waiting for Travis... |
All green @feluelle ! |
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.
@potiuk I unresolved the conversations where I think you missed a commit.
db4526b
to
eee6687
Compare
Right. I thought I squashed it together :(. |
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.
We made it @potiuk ! 🎉
🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 |
This is the first set of new static checks to add (for python files)
As described in another PR - I split it per file type. There will be about 7 or 8 such changes.
This one is by far the biggest because it is for python files:
We also have a script that can refresh pylint_todo.txt (used in this case)
There are quite a number of pylint fixes but they were all planned anyway.
Jira
Description
Tests
Commits
Documentation
Code Quality
flake8