refactor
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
[tox]
|
||||
envlist = py, lint, mypy
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
deps = -rrequirements-dev.txt
|
||||
commands =
|
||||
pytest -q
|
||||
|
||||
[testenv:lint]
|
||||
description = run linters
|
||||
deps =
|
||||
flake8>=5.0
|
||||
commands =
|
||||
flake8 hbd tests
|
||||
|
||||
[testenv:mypy]
|
||||
description = run mypy type checks
|
||||
deps =
|
||||
mypy>=1.10
|
||||
commands =
|
||||
mypy hbd
|
||||
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
extend-ignore = E203
|
||||
Reference in New Issue
Block a user