diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b31f169..8d51288d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.0 hooks: - id: ruff name: ruff lint diff --git a/pyproject.toml b/pyproject.toml index 06f1bbcc..63138935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,12 +98,14 @@ ignore = [ "E501", # ignore imports which are not at the top of a module "PLC0415", + # Too many branches + "PLR0912", # Too many arguments in function definition "PLR0913", + # Too many not-keyword-only arguments, + "PLR0917", # Magic value used in comparison "PLR2004", - # Too many branches - "PLR0912", ] [tool.hatch.build]