Skip to content

Commit f6e3dc9

Browse files
authored
Bump deps and tools (#2976)
1 parent 82584c9 commit f6e3dc9

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ repos:
2929
hooks:
3030
- id: isort
3131
- repo: https://github.com/psf/black
32-
rev: 23.1.0
32+
rev: 23.3.0
3333
hooks:
3434
- id: black
3535
args: [--safe]
3636
- repo: https://github.com/asottile/blacken-docs
3737
rev: 1.13.0
3838
hooks:
3939
- id: blacken-docs
40-
additional_dependencies: [black==23.1]
40+
additional_dependencies: [black==23.3]
4141
- repo: https://github.com/pre-commit/pygrep-hooks
4242
rev: v1.10.0
4343
hooks:
4444
- id: rst-backticks
4545
- repo: https://github.com/tox-dev/tox-ini-fmt
46-
rev: "0.6.1"
46+
rev: "1.0.0"
4747
hooks:
4848
- id: tox-ini-fmt
4949
args: ["-p", "fix"]
@@ -52,7 +52,7 @@ repos:
5252
hooks:
5353
- id: flake8
5454
additional_dependencies:
55-
- flake8-bugbear==23.3.12
55+
- flake8-bugbear==23.3.23
5656
- flake8-comprehensions==3.11.1
5757
- flake8-pytest-style==1.7.2
5858
- flake8-spellcheck==0.28

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ dependencies = [
5151
"cachetools>=5.3",
5252
"chardet>=5.1",
5353
"colorama>=0.4.6",
54-
"filelock>=3.10",
54+
"filelock>=3.10.7",
5555
'importlib-metadata>=6.1; python_version < "3.8"',
5656
"packaging>=23",
57-
"platformdirs>=3.1.1",
57+
"platformdirs>=3.2",
5858
"pluggy>=1",
5959
"pyproject-api>=1.5.1",
6060
'tomli>=2.0.1; python_version < "3.11"',
6161
'typing-extensions>=4.5; python_version < "3.8"',
6262
"virtualenv>=20.21",
6363
]
6464
optional-dependencies.docs = [
65-
"furo>=2022.12.7",
65+
"furo>=2023.3.27",
6666
"sphinx>=6.1.3",
6767
"sphinx-argparse-cli>=1.11",
6868
"sphinx-autodoc-typehints!=1.23.4,>=1.22",

tox.ini

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[tox]
2+
minversion = 3.22
23
envlist =
34
fix
45
py311
@@ -12,18 +13,19 @@ envlist =
1213
pkg_meta
1314
isolated_build = true
1415
skip_missing_interpreters = true
15-
minversion = 3.22
1616

1717
[testenv]
1818
description = run the tests with pytest under {envname}
19+
package = wheel
20+
wheel_build_env = .pkg
21+
extras =
22+
testing
1923
passenv =
2024
PYTEST_*
2125
SSL_CERT_FILE
2226
setenv =
2327
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
2428
COVERAGE_PROCESS_START = {toxinidir}{/}pyproject.toml
25-
extras =
26-
testing
2729
commands =
2830
pytest {posargs: \
2931
--junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}tox --cov {toxinidir}{/}tests \
@@ -33,17 +35,15 @@ commands =
3335
-n={env:PYTEST_XDIST_AUTO_NUM_WORKERS:auto} \
3436
tests --durations 5 --run-integration}
3537
diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}{/}coverage.{envname}.xml
36-
package = wheel
37-
wheel_build_env = .pkg
3838

3939
[testenv:fix]
4040
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
4144
passenv =
4245
{[testenv]passenv}
4346
PROGRAMDATA
44-
skip_install = true
45-
deps =
46-
pre-commit>=3.2
4747
commands =
4848
pre-commit run --all-files --show-diff-on-failure {posargs}
4949
python -c 'print(r"hint: run {envbindir}{/}pre-commit install to add checks as pre-commit hook")'
@@ -52,8 +52,8 @@ commands =
5252
description = run type check on code base
5353
deps =
5454
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
5757
commands =
5858
mypy src/tox
5959
mypy tests

0 commit comments

Comments
 (0)