Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 6, 2023

The mypy-providers specification has been wrong for tests/providers and tests/system/providers so a number of tests there has not been checked with type-hinting with MyPy. This PR fixes the specification and all the tests that were breaking mypy checks


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk
Copy link
Member Author

potiuk commented Nov 6, 2023

Huh... We had not run mypy checks on tests/providers and tests/system/providers for quite a while it seems.

@potiuk potiuk force-pushed the fix-bad-mypy-provider-pre-commiit-inclusion branch from 37cf6d8 to ceb9a47 Compare November 6, 2023 01:31
The mypy-providers specification has been wrong for tests/providers
and tests/system/providers so a number of tests there has not
been checked with type-hinting with MyPy. This PR fixes the
specification and all the tests that were breaking mypy checks
@potiuk potiuk force-pushed the fix-bad-mypy-provider-pre-commiit-inclusion branch from ceb9a47 to 081e3e6 Compare November 6, 2023 08:48
@potiuk
Copy link
Member Author

potiuk commented Nov 6, 2023

Last round of reviews applied from @uranusjr and @Lee-W - all the comments fixed.

@potiuk
Copy link
Member Author

potiuk commented Nov 6, 2023

Look forward to merging those. The more we wait, the more likely we will have some new cases popping up

@potiuk potiuk merged commit 59b32dc into apache:main Nov 6, 2023
@potiuk potiuk deleted the fix-bad-mypy-provider-pre-commiit-inclusion branch November 6, 2023 18:40
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Nov 10, 2023
…#35465)

The mypy-providers specification has been wrong for tests/providers
and tests/system/providers so a number of tests there has not
been checked with type-hinting with MyPy. This PR fixes the
specification and all the tests that were breaking mypy checks
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants