Update pre-commit
This commit is contained in:
parent
879591e1cc
commit
cdb88b9bbb
|
@ -16,7 +16,7 @@ repos:
|
|||
hooks:
|
||||
- id: blacken-docs
|
||||
args: [--target-version=py37]
|
||||
additional_dependencies: [black==22.12.0]
|
||||
additional_dependencies: [black==23.3.0]
|
||||
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.12.0
|
||||
|
@ -55,7 +55,7 @@ repos:
|
|||
- id: validate-pyproject
|
||||
|
||||
- repo: https://github.com/tox-dev/tox-ini-fmt
|
||||
rev: 1.0.0
|
||||
rev: 1.3.0
|
||||
hooks:
|
||||
- id: tox-ini-fmt
|
||||
|
||||
|
|
9
tox.ini
9
tox.ini
|
@ -1,13 +1,14 @@
|
|||
[tox]
|
||||
envlist =
|
||||
requires =
|
||||
tox>=4.2
|
||||
env_list =
|
||||
lint
|
||||
py{py3, 311, 310, 39, 38, 37}
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
extras =
|
||||
tests
|
||||
passenv =
|
||||
pass_env =
|
||||
FORCE_COLOR
|
||||
PYLAST_API_KEY
|
||||
PYLAST_API_SECRET
|
||||
|
@ -20,7 +21,7 @@ commands =
|
|||
skip_install = true
|
||||
deps =
|
||||
pre-commit
|
||||
passenv =
|
||||
pass_env =
|
||||
PRE_COMMIT_COLOR
|
||||
commands =
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
|
|
Loading…
Reference in a new issue