File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -21,21 +21,21 @@ repos:
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 ]
2828 - repo : https://github.com/asottile/blacken-docs
2929 rev : 1.13.0
3030 hooks :
3131 - id : blacken-docs
32- additional_dependencies : [ black==23.1 ]
32+ additional_dependencies : [ black==23.3 ]
3333 - repo : https://github.com/pre-commit/pygrep-hooks
3434 rev : v1.10.0
3535 hooks :
3636 - id : rst-backticks
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" ]
4444 hooks :
4545 - id : flake8
4646 additional_dependencies :
47- - flake8-bugbear==23.3.12
47+ - flake8-bugbear==23.3.23
4848 - flake8-comprehensions==3.11.1
4949 - flake8-pytest-style==1.7.2
5050 - flake8-spellcheck==0.28
Original file line number Diff line number Diff line change 11[tox]
2+ minversion = 3.21
23envlist =
34 fix
45 py311
@@ -10,14 +11,15 @@ envlist =
1011 readme
1112isolated_build = true
1213skip_missing_interpreters = true
13- minversion = 3.21
1414
1515[testenv]
1616description = run the tests with pytest
17- setenv =
18- COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
17+ package = wheel
18+ wheel_build_env = .pkg
1919extras =
2020 test
21+ setenv =
22+ COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
2123commands =
2224 coverage erase
2325 coverage run -m pytest {tty:--color =yes} \
@@ -26,26 +28,24 @@ commands =
2628 coverage combine
2729 coverage report
2830 coverage html -d {envtmpdir}{/}htmlcov
29- package = wheel
30- wheel_build_env = .pkg
3131
3232[testenv:fix]
3333description = run static analysis and style check using flake8
34+ skip_install = true
35+ deps =
36+ pre-commit>=3.2.1
3437passenv =
3538 HOMEPATH
3639 PROGRAMDATA
37- skip_install = true
38- deps =
39- pre-commit>=3.2
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 src
5151 mypy --strict tests
You can’t perform that action at this time.
0 commit comments