aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDennis Fink2026-11-12 22:07:12 +0100
committerDennis Fink2026-11-12 22:07:12 +0100
commitc7993952c585b66acad5275e39dbf91cf662b975 (patch)
tree976b3746444b3bd0bbb269bef9197c8b6a2e1696 /pyproject.toml
parentb930b4425b91aa42abcec6c3443685065a5ca242 (diff)
downloadwebmentions-ssg-c7993952c585b66acad5275e39dbf91cf662b975.tar.gz
webmentions-ssg-c7993952c585b66acad5275e39dbf91cf662b975.zip
chore(core): enable stricter Ruff lint rules
Expand Ruff checks for bugbear, complexity, pathlib, return statements, simplifications, upgrades, and docstring style. Apply the resulting behavior-neutral cleanup across application and test code.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 49ebd9c..34c0527 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -114,5 +114,8 @@ default-groups = ["dev", "test"]
[tool.ruff.format]
skip-magic-trailing-comma = true
+[tool.ruff.lint]
+extend-select = ["B", "C4", "C90", "PIE", "PLR09", "PTH", "RET", "RUF", "SIM", "UP", "D200", "D202", "D212"]
+
[tool.ruff.lint.isort]
split-on-trailing-comma = false