Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-05-28 00:00:09 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-05-28 00:03:47 +0300
commitb230d06a9d4e21182c0a6dcdb440d5a00d790c30 (patch)
treeb1f5936b787b6614e1c5abf5def0351fb25c55e8 /pyproject.toml
parentffe5bdd07c3b5a61338b3ad6ff56712f341d5086 (diff)
cq: Update ruff version
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml5
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