Skip to content

Commit

Permalink
Remove use of flake8.
Browse files Browse the repository at this point in the history
The flake8 project is marked as abandoned. There are some forks
but none that do not cause unsolved issues for our code base.
  • Loading branch information
tdenewiler committed Nov 5, 2024
1 parent 34feaab commit 1c88171
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@ envlist = py38, py39, py310, py311
skip_missing_interpreters = true

[pytest]
flake8-max-line-length = 9000
norecursedirs = .tox

# To work with black some items must be ignored.
# https://github.com/psf/black#how-black-wraps-lines
[flake8]
exclude = .tox
ignore = E203, E231, W503

# To work with black a specific configuration is required.
# https://github.com/psf/black#how-black-wraps-lines
[isort]
Expand All @@ -33,19 +26,16 @@ python =
passenv = CI
changedir = {toxinidir}/output-{envname}
deps =
flake8<5 # Pin until https://github.com/tholo/pytest-flake8/issues/87 is fixed.
flake8-pep3101
pycodestyle<2.9.0 # Pin until https://github.com/tholo/pytest-flake8/issues/87 is fixed.
pycodestyle
pydocstyle
pytest
pytest-cov
pytest-flake8
pytest-isort
.[test]
commands =
pydocstyle ../src/statick_tex/
pycodestyle --ignore=E203,E501,W503 ../src/statick_tex/
pytest --flake8 --isort \
pytest --isort \
--cov=statick_tool.plugins.discovery.tex_discovery_plugin \
--cov=statick_tool.plugins.tool.chktex_tool_plugin \
--cov=statick_tool.plugins.tool.lacheck_tool_plugin \
Expand Down

0 comments on commit 1c88171

Please sign in to comment.