File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 hooks :
2222 - id : isort
2323 - repo : https://github.com/psf/black
24- rev : 23.1 .0
24+ rev : 23.3 .0
2525 hooks :
2626 - id : black
2727 args : [--safe]
3535 hooks :
3636 - id : setup-cfg-fmt
3737 - repo : https://github.com/tox-dev/tox-ini-fmt
38- rev : " 0.6.1 "
38+ rev : " 1.0.0 "
3939 hooks :
4040 - id : tox-ini-fmt
4141 args : ["-p", "fix"]
5353 - pep8-naming==0.13.3
5454 - flake8-pyproject==1.2.3
5555 - repo : https://github.com/pre-commit/mirrors-prettier
56- rev : " v2.7.1 "
56+ rev : " v3.0.0-alpha.6 "
5757 hooks :
5858 - id : prettier
5959 additional_dependencies :
Original file line number Diff line number Diff line change 11[tox]
2+ minversion = 3.14
23envlist =
34 fix
45 py310
@@ -9,43 +10,42 @@ envlist =
910 readme
1011isolated_build = true
1112skip_missing_interpreters = true
12- minversion = 3.14
1313
1414[testenv]
1515description = run the unit tests with pytest under {basepython}
16+ package = wheel
17+ wheel_build_env = .pkg
18+ extras =
19+ test
1620setenv =
1721 COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
1822 COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
1923 _COVERAGE_SRC = {envsitepackagesdir}/sphinx_argparse_cli
20- extras =
21- test
2224commands =
2325 pytest {tty:--color =yes} {posargs: \
2426 --junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}devpi_process \
2527 --cov {toxinidir}{/}tests --cov-fail-under =100 \
2628 --cov-config =setup.cfg --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context =test \
2729 --cov-report html:{envtmpdir}{/}htmlcov --cov-report xml:{toxworkdir}{/}coverage.{envname}.xml \
2830 tests}
29- package = wheel
30- wheel_build_env = .pkg
3131
3232[testenv:fix]
3333description = run static analysis and style check using flake8
34- passenv =
35- HOMEPATH
36- PROGRAMDATA
3734skip_install = true
3835deps =
3936 pre-commit>=3.2
37+ passenv =
38+ HOMEPATH
39+ PROGRAMDATA
4040commands =
4141 pre-commit run --all-files --show-diff-on-failure
4242
4343[testenv:type]
4444description = run type check on code base
45- setenv =
46- {tty:MYPY_FORCE_COLOR = 1}
4745deps =
4846 mypy ==1.1.1
47+ setenv =
48+ {tty:MYPY_FORCE_COLOR = 1}
4949commands =
5050 mypy --strict --python-version 3.10 src
5151 mypy --strict --python-version 3.10 tests
You can’t perform that action at this time.
0 commit comments