mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
change ruff version in pyproject.toml
This commit is contained in:
parent
0bd02c00c0
commit
54ac03fca6
2 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ repos:
|
||||||
- id: forbid-new-submodules
|
- id: forbid-new-submodules
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
|
# ruff version should match the one in pyproject.toml
|
||||||
rev: v0.4.6
|
rev: v0.4.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,8 @@ dev = [
|
||||||
"pytest-xdist>=3.4.0",
|
"pytest-xdist>=3.4.0",
|
||||||
"tox>=4.11.3",
|
"tox>=4.11.3",
|
||||||
"invoke>=2.2.0",
|
"invoke>=2.2.0",
|
||||||
"ruff>=0.1.15,<0.2.0",
|
# ruff version should match the one in .pre-commit-config.yaml
|
||||||
|
"ruff==0.4.6",
|
||||||
"tomli>=2.0.1; python_version < \"3.11\"",
|
"tomli>=2.0.1; python_version < \"3.11\"",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue