Skip to content

Commit 016460f

Browse files
authored
Bump deps and tools (#59)
1 parent c568947 commit 016460f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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" ]
@@ -53,7 +53,7 @@ repos:
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = 'setuptools.build_meta'
33
requires = [
4-
"setuptools>=67.6",
4+
"setuptools>=67.6.1",
55
"setuptools_scm>=7.1",
66
]
77

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.21
23
envlist =
34
fix
45
py310
@@ -11,18 +12,19 @@ envlist =
1112
readme
1213
isolated_build = true
1314
skip_missing_interpreters = true
14-
minversion = 3.21
1515

1616
[testenv]
1717
description = run the tests with pytest
18+
package = wheel
19+
wheel_build_env = .pkg
20+
extras =
21+
test
1822
passenv =
1923
SSL_CERT_FILE
2024
setenv =
2125
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
2226
_COVERAGE_SRC = {envsitepackagesdir}{/}pytest_print
2327
_COVERAGE_TEST = {toxinidir}{/}tests
24-
extras =
25-
test
2628
commands =
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]
3838
description = run static analysis and style check using flake8
39+
skip_install = true
40+
deps =
41+
pre-commit>=3.2.1
3942
passenv =
4043
{[testenv]passenv}
4144
HOMEPATH
4245
PROGRAMDATA
43-
skip_install = true
44-
deps =
45-
pre-commit>=3.2
4646
commands =
4747
pre-commit run --all-files --show-diff-on-failure
4848

4949
[testenv:type]
5050
description = run type check on code base
51-
setenv =
52-
{tty:MYPY_FORCE_COLOR = 1}
5351
deps =
5452
mypy==1.1.1
53+
setenv =
54+
{tty:MYPY_FORCE_COLOR = 1}
5555
commands =
5656
mypy src/pytest_print
5757
mypy tests

0 commit comments

Comments
 (0)