Skip to content

Commit 0d9bfb8

Browse files
authored
Bump deps and tools (#94)
1 parent f9582e2 commit 0d9bfb8

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ repos:
2626
hooks:
2727
- id: isort
2828
- repo: https://github.com/psf/black
29-
rev: 23.1.0
29+
rev: 23.3.0
3030
hooks:
3131
- id: black
3232
args: [--safe]
3333
- repo: https://github.com/asottile/blacken-docs
3434
rev: 1.13.0
3535
hooks:
3636
- id: blacken-docs
37-
additional_dependencies: [black==23.1]
37+
additional_dependencies: [black==23.3]
3838
- repo: https://github.com/pre-commit/pygrep-hooks
3939
rev: v1.10.0
4040
hooks:
4141
- id: rst-backticks
4242
- repo: https://github.com/tox-dev/tox-ini-fmt
43-
rev: "0.6.1"
43+
rev: "1.0.0"
4444
hooks:
4545
- id: tox-ini-fmt
4646
args: ["-p", "fix"]
@@ -49,7 +49,7 @@ repos:
4949
hooks:
5050
- id: flake8
5151
additional_dependencies:
52-
- flake8-bugbear==23.3.12
52+
- flake8-bugbear==23.3.23
5353
- flake8-comprehensions==3.11.1
5454
- flake8-pytest-style==1.7.2
5555
- flake8-spellcheck==0.28

tox.ini

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[tox]
2+
minversion = 3.14.0
23
envlist =
34
fix
45
py310
@@ -9,46 +10,45 @@ envlist =
910
pkg_check
1011
isolated_build = true
1112
skip_missing_interpreters = true
12-
minversion = 3.14.0
1313

1414
[testenv]
1515
description = run the unit tests with pytest under {basepython}
16+
package = wheel
17+
wheel_build_env = .pkg
18+
extras =
19+
test
1620
setenv =
1721
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
1822
COVERAGE_PROCESS_START = {toxinidir}/setup.cfg
1923
_COVERAGE_SRC = {envsitepackagesdir}/sphinx_argparse_cli
20-
extras =
21-
test
2224
commands =
2325
pytest {tty:--color=yes} {posargs: \
2426
--junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}sphinx_argparse_cli \
2527
--cov {toxinidir}{/}tests --cov-fail-under=100 \
2628
--cov-config=pyproject.toml --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]
3333
description = run static analysis and style check using flake8
34-
passenv =
35-
HOMEPATH
36-
PROGRAMDATA
3734
basepython = python3.10
3835
skip_install = true
3936
deps =
40-
pre-commit>=3.2
37+
pre-commit>=3.2.1
38+
passenv =
39+
HOMEPATH
40+
PROGRAMDATA
4141
commands =
4242
pre-commit run --all-files --show-diff-on-failure
4343
python -c 'print("hint: run {envdir}/bin/pre-commit install to add checks as pre-commit hook")'
4444

4545
[testenv:type]
4646
description = run type check on code base
47-
setenv =
48-
{tty:MYPY_FORCE_COLOR = 1}
4947
deps =
5048
mypy==1.1.1
51-
types-docutils>=0.19.1.6
49+
types-docutils>=0.19.1.7
50+
setenv =
51+
{tty:MYPY_FORCE_COLOR = 1}
5252
commands =
5353
mypy src
5454
mypy tests

0 commit comments

Comments
 (0)