1
0
Fork 0
forked from github/pelican

Update Ruff linter

This commit is contained in:
Justin Mayer 2024-06-25 11:00:41 +02:00
commit 28e54106f2
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ repos:
- 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 # ruff version should match the one in pyproject.toml
rev: v0.4.6 rev: v0.4.10
hooks: hooks:
- id: ruff - id: ruff
args: [--fix, --exit-non-zero-on-fix] args: [--fix, --exit-non-zero-on-fix]

View file

@ -97,7 +97,7 @@ dev = [
"tox>=4.11.3", "tox>=4.11.3",
"invoke>=2.2.0", "invoke>=2.2.0",
# ruff version should match the one in .pre-commit-config.yaml # ruff version should match the one in .pre-commit-config.yaml
"ruff==0.4.6", "ruff==0.4.10",
"tomli>=2.0.1; python_version < \"3.11\"", "tomli>=2.0.1; python_version < \"3.11\"",
] ]