File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,21 @@ repos:
29
29
hooks :
30
30
- id : isort
31
31
- repo : https://github.com/psf/black
32
- rev : 23.1 .0
32
+ rev : 23.3 .0
33
33
hooks :
34
34
- id : black
35
35
args : [--safe]
36
36
- repo : https://github.com/asottile/blacken-docs
37
37
rev : 1.13.0
38
38
hooks :
39
39
- id : blacken-docs
40
- additional_dependencies : [black==23.1 ]
40
+ additional_dependencies : [black==23.3 ]
41
41
- repo : https://github.com/pre-commit/pygrep-hooks
42
42
rev : v1.10.0
43
43
hooks :
44
44
- id : rst-backticks
45
45
- repo : https://github.com/tox-dev/tox-ini-fmt
46
- rev : " 0.6.1 "
46
+ rev : " 1.0.0 "
47
47
hooks :
48
48
- id : tox-ini-fmt
49
49
args : ["-p", "fix"]
52
52
hooks :
53
53
- id : flake8
54
54
additional_dependencies :
55
- - flake8-bugbear==23.3.12
55
+ - flake8-bugbear==23.3.23
56
56
- flake8-comprehensions==3.11.1
57
57
- flake8-pytest-style==1.7.2
58
58
- flake8-spellcheck==0.28
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ dependencies = [
51
51
" cachetools>=5.3" ,
52
52
" chardet>=5.1" ,
53
53
" colorama>=0.4.6" ,
54
- " filelock>=3.10" ,
54
+ " filelock>=3.10.7 " ,
55
55
' importlib-metadata>=6.1; python_version < "3.8"' ,
56
56
" packaging>=23" ,
57
- " platformdirs>=3.1.1 " ,
57
+ " platformdirs>=3.2 " ,
58
58
" pluggy>=1" ,
59
59
" pyproject-api>=1.5.1" ,
60
60
' tomli>=2.0.1; python_version < "3.11"' ,
61
61
' typing-extensions>=4.5; python_version < "3.8"' ,
62
62
" virtualenv>=20.21" ,
63
63
]
64
64
optional-dependencies.docs = [
65
- " furo>=2022.12.7 " ,
65
+ " furo>=2023.3.27 " ,
66
66
" sphinx>=6.1.3" ,
67
67
" sphinx-argparse-cli>=1.11" ,
68
68
" sphinx-autodoc-typehints!=1.23.4,>=1.22" ,
Original file line number Diff line number Diff line change 1
1
[tox]
2
+ minversion = 3.22
2
3
envlist =
3
4
fix
4
5
py311
@@ -12,18 +13,19 @@ envlist =
12
13
pkg_meta
13
14
isolated_build = true
14
15
skip_missing_interpreters = true
15
- minversion = 3.22
16
16
17
17
[testenv]
18
18
description = run the tests with pytest under {envname}
19
+ package = wheel
20
+ wheel_build_env = .pkg
21
+ extras =
22
+ testing
19
23
passenv =
20
24
PYTEST_*
21
25
SSL_CERT_FILE
22
26
setenv =
23
27
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
24
28
COVERAGE_PROCESS_START = {toxinidir}{/}pyproject.toml
25
- extras =
26
- testing
27
29
commands =
28
30
pytest {posargs: \
29
31
--junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}tox --cov {toxinidir}{/}tests \
@@ -33,17 +35,15 @@ commands =
33
35
-n ={env:PYTEST_XDIST_AUTO_NUM_WORKERS:auto} \
34
36
tests --durations 5 --run-integration}
35
37
diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}{/}coverage.{envname}.xml
36
- package = wheel
37
- wheel_build_env = .pkg
38
38
39
39
[testenv:fix]
40
40
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
41
+ skip_install = true
42
+ deps =
43
+ pre-commit>=3.2.1
41
44
passenv =
42
45
{[testenv]passenv}
43
46
PROGRAMDATA
44
- skip_install = true
45
- deps =
46
- pre-commit>=3.2
47
47
commands =
48
48
pre-commit run --all-files --show-diff-on-failure {posargs}
49
49
python -c ' print(r"hint: run {envbindir}{/}pre-commit install to add checks as pre-commit hook")'
@@ -52,8 +52,8 @@ commands =
52
52
description = run type check on code base
53
53
deps =
54
54
mypy ==1.1.1
55
- types-cachetools>=5.3.0.4
56
- types-chardet>=5.0.4.2
55
+ types-cachetools>=5.3.0.5
56
+ types-chardet>=5.0.4.3
57
57
commands =
58
58
mypy src/tox
59
59
mypy tests
You can’t perform that action at this time.
0 commit comments