change ruff version in pyproject.toml

This commit is contained in:
boxydog 2024-05-30 10:56:06 -05:00
commit 54ac03fca6
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,7 @@ repos:
- id: forbid-new-submodules
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# ruff version should match the one in pyproject.toml
rev: v0.4.6
hooks:
- id: ruff

View file

@ -96,7 +96,8 @@ dev = [
"pytest-xdist>=3.4.0",
"tox>=4.11.3",
"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\"",
]