From 3d840fe45dc615f3260a1bda48ff6c20f64300d3 Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Tue, 29 Oct 2024 13:23:59 -0400 Subject: [PATCH] Update ruff-base.toml --- templates/ruff-base.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/ruff-base.toml b/templates/ruff-base.toml index 836205f4..f477e2b3 100644 --- a/templates/ruff-base.toml +++ b/templates/ruff-base.toml @@ -31,6 +31,7 @@ lint.extend-select = [ "ARG001", # Unused function argument "RSE102", # Unnecessary parentheses on raised exception "PERF401", # Use a list comprehension to create a transformed list +"S101", # Use of `assert` detected ] lint.ignore = [ @@ -56,4 +57,4 @@ max-line-length = 100 # E501 reports lines that exceed the length of 100. # - D205: Don't worry about test docstrings # - ARG001: Unused function argument false positives for some fixtures # - E501: Line-too-long -"**/tests/test_*.py" = ["D205", "ARG001", "E501"] +"**/tests/test_*.py" = ["D205", "ARG001", "E501", "S101"]