Skip to content

Commit

Permalink
Change lint python version
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Jul 30, 2024
1 parent 2958f58 commit bb7c199
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.20.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
{py38,py39,py310,py311}-django42
{py310,py311,py312}-django{50,main}
py38-docs
py38-lint
py39-lint

[testenv]
setenv =
Expand Down Expand Up @@ -41,7 +41,7 @@ changedir = docs/source
deps = -rdocs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:py38-lint]
[testenv:py39-lint]
deps = pre-commit
commands =
pre-commit run --all-files
Expand Down

0 comments on commit bb7c199

Please sign in to comment.