diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a9810d..73f8afd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Changed +- ruff: allow asserts and unused args in test files - update dependencies esp. trivy (0.73.0.1) and ruff (0.16.2) diff --git a/src/pyproject.toml.jinja b/src/pyproject.toml.jinja index 3b10f2e..486948d 100644 --- a/src/pyproject.toml.jinja +++ b/src/pyproject.toml.jinja @@ -97,7 +97,12 @@ ignore = [ "G004", # Logging statement uses f-string "ISC001", # single-line-implicit-string-concatenation "PD", # opinionated linting for pandas code - "S101", # use of assert detected "TRY003", # Avoid specifying long messages outside the exception class "CPY001", # Missing copyright notice ] + +[tool.ruff.lint.per-file-ignores] +"tests/**/*.py" = [ + "S101", # asserts allowed in tests + "ARG", # unused function args (pytest fixtures) +] \ No newline at end of file