8c01a9e7a0
Consolidates configs to pyproject.toml and updates workflows accordingly as well as sets sane minimums for dev requirements. adds version check to main script.
27 lines
379 B
INI
27 lines
379 B
INI
[tox]
|
|
requires =
|
|
tox>=3.27.1
|
|
envlist =
|
|
format
|
|
format_check
|
|
|
|
[testenv:format]
|
|
deps =
|
|
isort
|
|
black
|
|
skip_install = True
|
|
commands =
|
|
isort bdfr tests
|
|
black bdfr tests
|
|
|
|
[testenv:format_check]
|
|
deps =
|
|
isort
|
|
black
|
|
skip_install = True
|
|
allowlist_externals = mdl
|
|
commands =
|
|
isort bdfr tests --check
|
|
black bdfr tests --check
|
|
mdl README.md docs/
|