aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-07 02:29:26 +0100
committerGravatar Joe Banks <[email protected]>2024-07-08 15:00:10 +0100
commitd0e09d2ba567f23d91ac76d1844966bafb9b063a (patch)
tree9e825e3f09df02ab32e401c7e9555df26356dd4c /pyproject.toml
parentChange linting config to Ruff (diff)
Apply fixable lint settings with Ruff
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml12
1 files changed, 7 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 00b4bdc..82d2c5b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -29,7 +29,7 @@ build-backend = "poetry.masonry.api"
[tool.ruff]
target-version = "py312"
-extend-exclude = [".cache"]
+extend-exclude = [".cache", "resources"]
line-length = 100
unsafe-fixes = true
preview = true
@@ -47,16 +47,18 @@ ignore = [
"E731",
"RET504",
"RUF005",
- "S311",
+ "S311", "S113", "S324",
"SIM102", "SIM108",
"PD",
- "PLR0913", "PLR0917", "PLR6301",
+ "PLR0913", "PLR0917", "PLR6301", "PLR1702", "PLR0915", "PLR2004",
+ "PLR0912", "PLR0914", "PLR0911",
"DTZ003",
"INP001",
"D102",
- "D103", "D103", "D101",
- "S113",
+ "D103", "D103", "D101", "D106",
+ "C901",
"DTZ005",
+ "TRY004",
"N805",
# Rules suggested to be ignored when using ruff format