-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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-4686] Make dags Pylint compatible #5753
[AIRFLOW-4686] Make dags Pylint compatible #5753
Conversation
@potiuk I do not understand why I have this test failing when I didn't change anything there.
The test was added here and it passed all tests. |
Yeah. I think it's a flaky test - passing sometimes - I saw it failing in master as well. I think we need to remove it for now. |
It looks like there are two calls - one for schema.json and one for data.json and sometimes one comes first, sometimes the other :). |
Yeah. We are experiencing this: https://stackoverflow.com/questions/7242433/asserting-successive-calls-to-a-mock-method - assert_called_with only check the last call and there are two - and they race each other |
I will do a quick fix |
Yes, I just noticed that, too, that I 've never used I use |
We could use assert_has_calls with |
Oh that's exactly what the link is saying :D |
Yep. Just submitting this fix :)
|
Fix here: #5758 |
We should make a I've integrated the |
Oh yeah. That's coming :) |
3d2a859
to
0772512
Compare
airflow/contrib/example_dags/example_emr_job_flow_manual_steps.py
Outdated
Show resolved
Hide 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.
One small comment and today I hope merge this PR.
0772512
to
d68462e
Compare
d68462e
to
1344a75
Compare
@feluelle Thanks. Great work. Fixing pylint errors is very important. This will allow for faster development of the project. |
(cherry picked from commit 571ffcc)
(cherry picked from commit 571ffcc)
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation
Code Quality
flake8