From 941e27ff1439489bbbd77dbbd15298e1d806e62a Mon Sep 17 00:00:00 2001 From: pederhan Date: Fri, 17 Jan 2025 12:31:58 +0100 Subject: [PATCH] Add E and W rules --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index bc54bb6..69d0ad6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,6 +82,8 @@ extend-include = [ [tool.ruff.lint] extend-select = [ + "E", # pydecodestyle (errors) + "W", # pydecodestyle (warnings) "G", # flake8-logging-format "I", # isort "LOG", # flake8-logging @@ -91,6 +93,11 @@ extend-select = [ "C4", # flake8-comprehensions "B", # flake8-bugbear ] +# 2. Avoid enforcing line-length violations (`E501`) +ignore = ["E501"] + +# 3. Avoid trying to fix flake8-bugbear (`B`) violations. +unfixable = ["B"] [tool.ruff.format] # Enable auto-formatting for docstrings.