Commit Graph

25 Commits

Author SHA1 Message Date
Brian S. Stephan f12b76680f
use `reuse lint` for REUSE compliance
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-16 00:38:28 -05:00
Brian S. Stephan 680a2bc764
add python 3.12 to tox environments
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-30 11:13:08 -06:00
Brian S. Stephan 713632fe7a
unpin tox in requirements
for some reason bandit wasn't earlier catching the SubElement usage but
now it is, but it's harmless anyway so we'll just suppress it.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-30 11:12:59 -06:00
Brian S. Stephan bf646db1e8
convert tooling to pyproject.toml based
still has dynamic versioning and etc.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-30 10:33:28 -06:00
Brian S. Stephan 6b5cdb7f7e
add python 3.11 to tox tests 2023-10-07 13:07:05 -05:00
Brian S. Stephan 83bc8b2c21
requirements bump, only affected dev tools 2022-12-31 10:13:20 -06:00
Brian S. Stephan 56289ab75d
remove warning for coverage feature not in use 2022-01-15 17:40:12 -06:00
Brian S. Stephan d623c9c93d
adding support for 3.10, dropping support for 3.7 2022-01-15 17:35:56 -06:00
Brian S. Stephan 509072ab78 safety in tox: scan requirements for known bad packages 2021-06-24 11:46:56 -05:00
Brian S. Stephan 41a53a2a13 add py39 environment to tox test envs 2021-06-24 11:23:36 -05:00
Brian S. Stephan f63de031f6 tox updates: run py38, combine coverage, dist-as-dir 2020-10-20 16:07:49 -05:00
Brian S. Stephan 0af0f4e8aa tox.ini updates, use requirements-dev.txt, fix pathing 2020-06-23 13:33:15 -05:00
Brian S. Stephan ea7c9a1e07 let TODOs through linting, but warn about them 2020-06-22 19:09:39 -05:00
Brian S. Stephan 63da59efd5 enable flake8-logging-format violations 2020-06-22 18:50:13 -05:00
Brian S. Stephan c7d4a1c930 add any suppressed flake8-fixme messages in the fail-open run 2020-06-22 18:49:34 -05:00
Brian S. Stephan 421d0e6f8e properly create the symlink to dist/ across multiple runs of tox 2020-06-22 18:48:22 -05:00
Brian S. Stephan 5c1fc93ff9 combine tox deps in order to unconfuse flake8-isort
with pytest not being included in the lint environment, flake8-isort
didn't know how to treat it vs. incorporealcms imports, leading to false
positives only inside tox. this makes it so that certain packages
(defined in base deps) can be imported in any/all envs, because they
show up in analyzed/imported/etc code rather than being merely tools
2020-06-22 18:48:18 -05:00
Brian S. Stephan 7b5f7ff00b add dlint and flake8-fixme 2020-06-20 10:48:46 -05:00
Brian S. Stephan 9db5189c65 add flake8-isort, with a caveat 2020-06-19 20:23:23 -05:00
Brian S. Stephan ab2d754e43 reorganize tox.ini a bit and use pytest-cov rather than coverage directly 2020-06-19 20:01:06 -05:00
Brian S. Stephan ebaccbd0ad organize tests a bit better between unit and functional tests 2020-06-18 23:36:51 -05:00
Brian S. Stephan 605a82680d add bandit and flake8 plugins to tox, remove redundant deps 2020-06-18 17:39:34 -05:00
Brian S. Stephan 14f6125f4e use new-style tox.ini, add flake8-docstrings, add docstrings 2020-06-17 20:18:43 -05:00
Brian S. Stephan 21f65813fb properly run pytest + cov in the tox env 2020-06-17 16:34:50 -05:00
Brian S. Stephan f77aebb097 replace CI tools with tox invocation 2020-06-16 23:00:49 -05:00