diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-05-28 00:00:09 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-05-28 00:03:47 +0300 |
commit | b230d06a9d4e21182c0a6dcdb440d5a00d790c30 (patch) | |
tree | b1f5936b787b6614e1c5abf5def0351fb25c55e8 /pyproject.toml | |
parent | ffe5bdd07c3b5a61338b3ad6ff56712f341d5086 (diff) |
cq: Update ruff version
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |