Skip to content

Commit ba7a132

Browse files
authored
Bump deps and tools (#26)
1 parent 884f423 commit ba7a132

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ repos:
2121
hooks:
2222
- id: isort
2323
- repo: https://github.com/psf/black
24-
rev: 23.1.0
24+
rev: 23.3.0
2525
hooks:
2626
- id: black
2727
args: [ --safe ]
2828
- repo: https://github.com/asottile/blacken-docs
2929
rev: 1.13.0
3030
hooks:
3131
- id: blacken-docs
32-
additional_dependencies: [ black==23.1 ]
32+
additional_dependencies: [ black==23.3 ]
3333
- repo: https://github.com/pre-commit/pygrep-hooks
3434
rev: v1.10.0
3535
hooks:
3636
- id: rst-backticks
3737
- repo: https://github.com/tox-dev/tox-ini-fmt
38-
rev: "0.6.1"
38+
rev: "1.0.0"
3939
hooks:
4040
- id: tox-ini-fmt
4141
args: [ "-p", "fix" ]
@@ -44,7 +44,7 @@ repos:
4444
hooks:
4545
- id: flake8
4646
additional_dependencies:
47-
- flake8-bugbear==23.3.12
47+
- flake8-bugbear==23.3.23
4848
- flake8-comprehensions==3.11.1
4949
- flake8-pytest-style==1.7.2
5050
- flake8-spellcheck==0.28

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
py311
@@ -10,14 +11,15 @@ envlist =
1011
readme
1112
isolated_build = true
1213
skip_missing_interpreters = true
13-
minversion = 3.21
1414

1515
[testenv]
1616
description = run the tests with pytest
17-
setenv =
18-
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
17+
package = wheel
18+
wheel_build_env = .pkg
1919
extras =
2020
test
21+
setenv =
22+
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}}
2123
commands =
2224
coverage erase
2325
coverage run -m pytest {tty:--color=yes} \
@@ -26,26 +28,24 @@ commands =
2628
coverage combine
2729
coverage report
2830
coverage html -d {envtmpdir}{/}htmlcov
29-
package = wheel
30-
wheel_build_env = .pkg
3131

3232
[testenv:fix]
3333
description = run static analysis and style check using flake8
34+
skip_install = true
35+
deps =
36+
pre-commit>=3.2.1
3437
passenv =
3538
HOMEPATH
3639
PROGRAMDATA
37-
skip_install = true
38-
deps =
39-
pre-commit>=3.2
4040
commands =
4141
pre-commit run --all-files --show-diff-on-failure
4242

4343
[testenv:type]
4444
description = run type check on code base
45-
setenv =
46-
{tty:MYPY_FORCE_COLOR = 1}
4745
deps =
4846
mypy==1.1.1
47+
setenv =
48+
{tty:MYPY_FORCE_COLOR = 1}
4949
commands =
5050
mypy --strict src
5151
mypy --strict tests

0 commit comments

Comments
 (0)