Change lint python version

This commit is contained in:
Hasan Ramezani 2024-07-30 18:42:05 +03:30
parent 2958f58acd
commit bb7c1998c5
No known key found for this signature in database
GPG key ID: 36462AEA74DF3539
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -4,7 +4,7 @@ envlist =
{py38,py39,py310,py311}-django42
{py310,py311,py312}-django{50,main}
py38-docs
py38-lint
py39-lint
[testenv]
setenv =
@ -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