pytest-flake8 icon indicating copy to clipboard operation
pytest-flake8 copied to clipboard

Update to work for flake8==5.0.0

Open DominicOram opened this issue 3 years ago • 3 comments

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

DominicOram avatar Aug 05 '22 16:08 DominicOram

@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)?

jaraco avatar Oct 03 '22 14:10 jaraco

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 =======================================================================

kloczek avatar Dec 08 '22 00:12 kloczek