Skip to content

Commit

Permalink
Fix lint entry in tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani authored and Linkid committed May 1, 2022
1 parent de0625b commit 4c0bfab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
{py37,py38,py39,py10}-django32
{py38,py39,py10}-django{40,main}
py38-docs
py38-qa
py38-lint

[testenv]
commands =
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4c0bfab

Please sign in to comment.