From b230d06a9d4e21182c0a6dcdb440d5a00d790c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 27 May 2023 23:00:09 +0200 Subject: cq: Update ruff version --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 8923db570..b77d0b231 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -201,6 +201,7 @@ ignore = [ "N806", # Variable should be lower case "N817", # CamelCase imported as acronym "N818", # Exception name should be named with an Error suffix + "PGH003", # Use specific rule codes when ignoring type issues "PLC1901",# Expression can be simplified to x as an empty string is falsey "PLR0911",# Too many return statements "PLR0912",# Too many branches @@ -267,6 +268,10 @@ target-version = "py310" "test/*" = ["E402"] "test/common/test_styling.py" = ["RUF001", "E501"] "test/common/test_regex.py" = ["RUF001"] +"pep517build/*" = ["S603", "S607"] +"mac/*" = ["S603", "S607"] +"win/*" = ["S603", "S607"] +"scripts/*" = ["S603", "S607"] [tool.ruff.mccabe] max-complexity = 15 -- cgit v1.2.3