7f17ddc2ff
Replace the missing requirements-dev.txt reference with extras = dev, which installs the [dev] optional dependencies declared in pyproject.toml. Also remove skipsdist so tox installs the package before running tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
327 B
INI
26 lines
327 B
INI
[tox]
|
|
envlist = py, lint, mypy
|
|
|
|
[testenv]
|
|
extras = dev
|
|
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 = 111
|
|
extend-ignore = E203
|