tholo / pytest-flake8

pytest plugin to run flake8
Other
117 stars 47 forks source link

fix compatibility with flake8 > 3.7 #68

Closed noviluni closed 4 years ago

noviluni commented 4 years ago

flake8==3.8 has been released and it deprecates some functions, causing this package to stop working as expected and generating a lot of errors.

I fixed it to work with this new version.

It would be really nice to release this as soon as possible to avoid some pipelines to fail.

Let me know what you think @tholo :smile:

Fixes https://github.com/tholo/pytest-flake8/issues/66

hoIIer commented 4 years ago

+1

Et7f3 commented 1 year ago

And it broken again with flake6 :(

hoIIer commented 1 year ago

@Et7f3 I ditched this package and just use flake8 directly now since it works with latest pytest versions.

# lint.
flake8 .

# test.
pytest .