diff --git a/pyproject.toml b/pyproject.toml index ec07a963..1ea31e20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,8 +141,25 @@ filterwarnings = [ [tool.ruff] line-length = 88 +# https://beta.ruff.rs/docs/rules/ +select = [ + 'E', + 'F', + 'W', + 'ASYNC', + 'S110', # try-except-pass + 'S112', # try-except-continue + 'EM', + 'ISC', + 'Q', + 'RSE', + 'TID', + 'TCH' +] +exclude = [".git", ".tox", ".venv", "node_modules"] + [tool.ruff.per-file-ignores] -"__init__.py" = ["F401"] +"__init__.py" = ["F401"] # unused imports [tool.flakeheaven] max_line_length = 88