diff --git a/template/justfile.jinja b/template/justfile.jinja index 44c1081..fb66419 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -126,7 +126,7 @@ check-unused: # - 60 %: attribute, class, function, method, property, variable # There are some things should be ignored though, with the allowlist. # Create an allowlist with `vulture --make-allowlist` - uv run vulture src/ tests/ **/vulture-allowlist.py + uv run vulture --min-confidence 100 src/ tests/ **/vulture-allowlist.py # Re-build the README file from the Quarto version build-readme: diff --git a/template/ruff.toml b/template/ruff.toml index 9171953..7c08aab 100644 --- a/template/ruff.toml +++ b/template/ruff.toml @@ -9,7 +9,9 @@ extend-select = [ # Add rule that all functions have docstrings. "D", # Add isort to list. - "I" + "I", + # Check for unused arguments + "ARG", ] # Ignore missing docstring at the top of files ignore = ["D100"]