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