[AIRFLOW-4688]: Fix Pylint checks on modules under scripts folder#7850
[AIRFLOW-4688]: Fix Pylint checks on modules under scripts folder#7850potiuk merged 9 commits intoapache:masterfrom
scripts folder#7850Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
scripts folder
|
I think there are two more files failing static checks. Can you please fix them @gdevanla ? |
57cb734 to
77a611c
Compare
|
I observe locally the isort is using the global settings files during pre-commit run. Shouldn't airflow have its own project specific isort.cfg? |
scripts/perf/dags/elastic_dag.py
Outdated
There was a problem hiding this comment.
It's better to use names of the checks. This way it's cleared what it is about.
|
And please rebase to latest master. It contains fix for the failing build. |
|
Thanks for the suggestion on isort. I will take a look at it when I get a chance. Do I need to submit an corresponding ticket on JIRA for that? |
Codecov Report
@@ Coverage Diff @@
## master #7850 +/- ##
==========================================
- Coverage 87.16% 86.90% -0.27%
==========================================
Files 931 931
Lines 45173 45173
==========================================
- Hits 39375 39256 -119
- Misses 5798 5917 +119
Continue to review full report at Codecov.
|
|
Awesome work, congrats on your first merged pull request! |
|
Thanks @gdevanla |
Fix Pylint checks. To achieve this, perform minor re-arrangement of code snippets to allow for cleaner code. All checks under
scriptsfolder has been addressed in this change.Issue link: AIRFLOW-4688
Make sure to mark the boxes below before creating PR: [x]
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.
Read the Pull Request Guidelines for more information.