From c1f6dfe55047af3328fcadd2f285e749e1d97857 Mon Sep 17 00:00:00 2001 From: Henry Wright Date: Wed, 19 Aug 2026 10:03:42 +0100 Subject: [PATCH] fix failing ruff checks --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e608e4cd..d49eeed8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -374,6 +374,7 @@ ignore = [ "PLC0414", # Import alias does not rename original package "PLR0912", # Too many branches "PLR0913", # too-many-argument + "PLR0917", # too-many-postional-arguments "PLR2004", # magic-value-comparison "PT006", # pytest-parametrize-names-wrong-type "PT011", # pytest-raises-too-broad @@ -406,6 +407,9 @@ select = [ "D212", # Multi-line docstring summary should start at the first line ] +[tool.ruff.lint.flake8-copyright] +notice-rgx = "(?i)copyright.*cf-units contributors" + [tool.ruff.lint.isort] force-sort-within-sections = true known-first-party = ["cf_units"]