From acc33948b7483a161ea2b262a61c8e369008ecf8 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Sat, 31 Aug 2024 22:43:25 +0100 Subject: [PATCH] tweak pyproject config --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b3dc320e..91167233 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -202,14 +202,14 @@ ] ignore = [ - "ANN101", - "ANN401", - "B011", # Do not call assert False since python -O removes these calls - "COM812", - "G004", - "E501", # Line too long - "EXE001", - "S101", + "ANN101", # Missing type annotation for function argument {name} + "ANN401", # Dynamically typed expressions (typing.Any) are disallowed in {name} + "B011", # Do not call assert False since python -O removes these calls + "COM812", # Trailing comma missing + "G004", # Logging statement uses f-string + "E501", # Line too long + "EXE001", # Shebang is present but file is not executable + "S101", # Use of assert detected "SIM102", # Use a single `if` statement instead of nested `if` statements "SIM114", # Combine `if` branches using logical `or` operator "UP009", # UTF-8 encoding declaration is unnecessary