powrap/tox.ini

34 lines
608 B
INI
Raw Permalink Normal View History

2019-12-10 09:09:21 +00:00
[flake8]
;Because black
ignore = E203
max-line-length = 88
[tox]
2023-03-30 21:19:29 +00:00
envlist = py37, py38, py39, py310, py311, flake8, mypy, black, pydocstyle
2021-06-04 04:59:08 +00:00
isolated_build = True
2019-12-10 09:09:21 +00:00
skip_missing_interpreters = True
[testenv]
deps = -r requirements-dev.txt
commands = pytest
[testenv:flake8]
deps = flake8
commands = flake8 tests/ powrap/
[testenv:pylint]
commands = pylint powrap/
[testenv:black]
deps = black
commands = black --check --diff tests/ powrap/
[testenv:mypy]
deps = mypy
commands = mypy --ignore-missing-imports powrap/
2020-12-03 12:10:26 +00:00
[testenv:pydocstyle]
deps = pydocstyle
skip_install = True
commands = pydocstyle powrap/