tholo / pytest-flake8

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

Update to work for flake8==5.0.0 #88

Open DominicOram opened 2 years ago

DominicOram commented 2 years ago

Fixes #87

To test:

jaraco commented 1 year ago

@tholo I'd love to help shepherd this change through. Any more thoughts on making me a co-owner/maintainer (https://github.com/tholo/pytest-flake8/issues/37#issuecomment-1201857194)?

kloczek commented 1 year ago

Tested this PR and lookds like it is OK. pytest is OK as well

+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.16, pytest-7.2.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-flake8-1.1.1, configfile: tox.ini
plugins: flake8-1.1.1
collected 16 items

pytest_flake8.py .                                                                                                                                                   [  6%]
setup.py .                                                                                                                                                           [ 12%]
test_flake8.py ............x.                                                                                                                                        [100%]

========================================================================= short test summary info ==========================================================================
XFAIL test_flake8.py::test_strict - flake8 is not properly registered as a marker
====================================================================== 15 passed, 1 xfailed in 1.38s =======================================================================
jaraco commented 1 month ago

Please consider contributing this fix or others to the revived project at coherent-oss.