aboutsummaryrefslogtreecommitdiff
path: root/blog/pyproject.toml
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-03-15 14:15:18 +0100
committeralexpdp7 <alex@corcoles.net>2025-03-15 14:16:09 +0100
commit8eb7a03402cfee23f7686a53f7bdabddddd09ee5 (patch)
treebf6b67391f8b102fd235f36989cf95c4e6125b6c /blog/pyproject.toml
parenta253aa330a9c3b5148a55ff1c7223821de21a3f6 (diff)
Apply ruff format and lint
Diffstat (limited to 'blog/pyproject.toml')
-rw-r--r--blog/pyproject.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/blog/pyproject.toml b/blog/pyproject.toml
index 4281d729..b1f9c314 100644
--- a/blog/pyproject.toml
+++ b/blog/pyproject.toml
@@ -32,3 +32,14 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel.force-include]
"content" = "content"
"static" = "static"
+
+[tool.ruff.lint]
+select = ["ALL"]
+ignore = [
+ "E741", # Ambiguous variable name (single letter variable)
+ "ANN", # Missing type annotations
+ "D1", # Missing docstrings
+ "B011", "PT015", "S101", # I am wrong in liking asserts, but I do
+ "COM812", # Trailing comma missing, incompatible with ruff format
+ "D400", "D415", "D212", "D205" # I like doctests without docstrings
+]