pytest-flake8
pytest-flake8 copied to clipboard
Update to work for flake8==5.0.0
Fixes #87
To test:
- Update dependencies
- Run unit tests on master and confirm they fail
- Run unit tests on this branch and confirm they pass
@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)?
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 =======================================================================