Skip to content
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

flake8 failure for overload #5770

Closed
RonnyPfannschmidt opened this issue Aug 20, 2019 · 0 comments · Fixed by #5752
Closed

flake8 failure for overload #5770

RonnyPfannschmidt opened this issue Aug 20, 2019 · 0 comments · Fixed by #5752
Labels
type: infrastructure improvement to development/releases/CI structure

Comments

@RonnyPfannschmidt
Copy link
Member

RonnyPfannschmidt commented Aug 20, 2019

followup to #5769

linting failed with

flake8...................................................................Failed
hookid: flake8

src/_pytest/python_api.py:16:1: TYP002 @overload is broken in <3.5.2, add `if sys.version_info < (3, 5, 2): def overload(f): return f`
src/_pytest/recwarn.py:10:1: TYP002 @overload is broken in <3.5.2, add `if sys.version_info < (3, 5, 2): def overload(f): return f`

i suspect a false positive due to the introduced compat import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant