File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,21 @@ repos:
2525 hooks :
2626 - id : isort
2727 - repo : https://github.com/psf/black
28- rev : 23.1 .0
28+ rev : 23.3 .0
2929 hooks :
3030 - id : black
3131 args : [ --safe ]
3232 - repo : https://github.com/asottile/blacken-docs
3333 rev : 1.13.0
3434 hooks :
3535 - id : blacken-docs
36- additional_dependencies : [ black==23.1 ]
36+ additional_dependencies : [ black==23.3 ]
3737 - repo : https://github.com/pre-commit/pygrep-hooks
3838 rev : v1.10.0
3939 hooks :
4040 - id : rst-backticks
4141 - repo : https://github.com/tox-dev/tox-ini-fmt
42- rev : " 0.6.1 "
42+ rev : " 1.0.0 "
4343 hooks :
4444 - id : tox-ini-fmt
4545 args : [ "-p", "fix" ]
5353 hooks :
5454 - id : flake8
5555 additional_dependencies :
56- - flake8-bugbear==23.3.12
56+ - flake8-bugbear==23.3.23
5757 - flake8-comprehensions==3.11.1
5858 - flake8-pytest-style==1.7.2
5959 - flake8-spellcheck==0.28
Original file line number Diff line number Diff line change 11[build-system ]
22build-backend = ' setuptools.build_meta'
33requires = [
4- " setuptools>=67.6" ,
4+ " setuptools>=67.6.1 " ,
55 " setuptools_scm>=7.1" ,
66]
77
Original file line number Diff line number Diff line change 11[tox]
2+ minversion = 3.21
23envlist =
34 fix
45 py310
@@ -11,18 +12,19 @@ envlist =
1112 readme
1213isolated_build = true
1314skip_missing_interpreters = true
14- minversion = 3.21
1515
1616[testenv]
1717description = run the tests with pytest
18+ package = wheel
19+ wheel_build_env = .pkg
20+ extras =
21+ test
1822passenv =
1923 SSL_CERT_FILE
2024setenv =
2125 COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
2226 _COVERAGE_SRC = {envsitepackagesdir}{/}pytest_print
2327 _COVERAGE_TEST = {toxinidir}{/}tests
24- extras =
25- test
2628commands =
2729 coverage erase
2830 coverage run -m pytest {tty:--color =yes} \
@@ -31,27 +33,25 @@ commands =
3133 coverage combine
3234 coverage report
3335 coverage html -d {envtmpdir}{/}htmlcov
34- package = wheel
35- wheel_build_env = .pkg
3636
3737[testenv:fix]
3838description = run static analysis and style check using flake8
39+ skip_install = true
40+ deps =
41+ pre-commit>=3.2.1
3942passenv =
4043 {[testenv]passenv}
4144 HOMEPATH
4245 PROGRAMDATA
43- skip_install = true
44- deps =
45- pre-commit>=3.2
4646commands =
4747 pre-commit run --all-files --show-diff-on-failure
4848
4949[testenv:type]
5050description = run type check on code base
51- setenv =
52- {tty:MYPY_FORCE_COLOR = 1}
5351deps =
5452 mypy ==1.1.1
53+ setenv =
54+ {tty:MYPY_FORCE_COLOR = 1}
5555commands =
5656 mypy src/pytest_print
5757 mypy tests
You can’t perform that action at this time.
0 commit comments