From 8eb7a03402cfee23f7686a53f7bdabddddd09ee5 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 15 Mar 2025 14:15:18 +0100 Subject: Apply ruff format and lint --- blog/pyproject.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'blog/pyproject.toml') 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 +] -- cgit v1.2.3