Skip to content

Commit

Permalink
Run flake8 only via pre-commit
Browse files Browse the repository at this point in the history
Avoids tholo/pytest-flake8#81 when using flake8 through pytest-flake8
  • Loading branch information
papr committed Feb 17, 2022
1 parent c132137 commit fa620c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ addopts = "--black"
[pytest.enabler.mypy]
addopts = "--mypy"

[pytest.enabler.flake8]
addopts = "--flake8"

[pytest.enabler.cov]
addopts = "--cov"
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ docs =
rst.linker>=1.9
sphinx<4.4 # 4.4 does not detect TypeVars correctly
testing =
flake8<4 # workaround https://github.com/tholo/pytest-flake8/issues/81
pytest>=6
pytest-black>=0.3.7
pytest-checkdocs>=2.4
pytest-cov
pytest-enabler>=1.0.1
pytest-flake8
pytest-mypy

0 comments on commit fa620c0

Please sign in to comment.