8000 Disables --warn-unused-ignore flag for mypy by potiuk · Pull Request #10880 · apache/airflow · GitHub
[go: up one dir, main page]

Skip to content

Disables --warn-unused-ignore flag for mypy #10880

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

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

potiuk
Copy link
Member
@potiuk potiuk commented Sep 11, 2020

There is a problem with MyPy's implementation of
--warn-unused-ignore flag, that depending on it's incremental
or full run it will sometimes throw an "unused ignore" error
(entirely randomly it seems). The problem is described
(but only workarounded) in
python/mypy#2960.

The workaround is to disable --warn-unused-ignore flag.
There is little harm in having unused ignores and we can
clean them up from time to time easily.


^ 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.

@potiuk potiuk requested review from ashb and kaxil September 11, 2020 13:52
There is a problem with MyPy's implementation of
--warn-unused-ignore flag, that depending on it's incremental
or full run it will sometimes throw an "unused ignore" error
(entirely randomly it seems). The problem is described
(but only workarounded) in
python/mypy#2960.

The workaround is to disable --warn-unused-ignore flag.
There is little harm in having unused ignores and we can
clean them up from time to time easily.
@potiuk potiuk force-pushed the disable-mypy-unused-ignores branch from 3131575 to e426750 Compare September 11, 2020 13:53
@potiuk potiuk merged commit d93c1fd into apache:master Sep 11, 2020
@potiuk potiuk deleted the disable-mypy-unused-ignores branch September 11, 2020 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0