Compare commits

...

2 Commits

Author SHA1 Message Date
Brian S. Stephan ffbc3cc0d7
check REUSE as part of tox
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 10:26:28 -05:00
Brian S. Stephan ba620c87ca
fix pyproject.toml package find the proper way
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 10:23:18 -05:00
2 changed files with 7 additions and 2 deletions

View File

@ -74,7 +74,7 @@ ignore_errors = true
python_files = ["*_tests.py", "tests.py", "test_*.py"]
[tool.setuptools]
py-modules = ["__init__"]
packages = ["gp2040ce_bintools"]
[tool.setuptools_scm]
write_to = "gp2040ce_bintools/_version.py"

View File

@ -5,7 +5,7 @@
[tox]
isolated_build = true
envlist = begin,py39,py310,py311,coverage,bandit,lint
envlist = begin,py39,py310,py311,coverage,bandit,lint,reuse
[testenv]
allow_externals = pytest, coverage
@ -57,6 +57,11 @@ commands =
mypy gp2040ce_bintools
- flake8 --disable-noqa --ignore= --select=E,W,F,C,D,A,G,B,I,T,M,DUO
[testenv:reuse]
# check license documentation
commands =
reuse lint
[coverage:paths]
source =
./