Fix lint entry in tox.ini

This commit is contained in:
Hasan Ramezani 2022-04-05 14:29:15 +02:00 committed by François Magimel
parent de0625b378
commit 4c0bfabab2
2 changed files with 6 additions and 3 deletions

View file

@ -4,7 +4,10 @@ repos:
rev: 22.3.0
hooks:
- id: black
language_version: python3.7
language_version: python3.8
args:
- "--target-version"
- "py37"
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:

View file

@ -3,7 +3,7 @@ envlist =
{py37,py38,py39,py10}-django32
{py38,py39,py10}-django{40,main}
py38-docs
py38-qa
py38-lint
[testenv]
commands =
@ -35,7 +35,7 @@ changedir = docs/source
deps = -rdocs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
[testenv:py38-lint]
deps = pre-commit
commands =
pre-commit run --all-files