From f247d07d61731994db3a0918b3c609d1d755ac34 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 15 Jul 2023 12:25:56 -0700 Subject: [PATCH] Document each ruff rule with comment --- pyproject.toml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 232c9a1f..42cb50b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -131,21 +131,21 @@ line-length = 88 # https://beta.ruff.rs/docs/rules/ select = [ - 'E', - 'F', - 'W', - 'I', - 'ASYNC', - 'S110', # try-except-pass - 'S112', # try-except-continue - 'EM', - 'ISC', - 'Q', - 'RSE', - 'TID', - 'TCH', - 'T100', # debugger, don't allow break points - 'ICN' + 'F', # Pyflakes + 'E', # pycodestyle errors + 'W', # pycodestyle warnings + 'I', # isort + 'ASYNC', # flake8-async + 'S110', # try-except-pass + 'S112', # try-except-continue + 'EM', # flake8-errmsg + 'ISC', # flake8-implicit-str-concat + 'Q', # flake8-quotes + 'RSE', # flake8-raise + 'TID', # flake8-tidy-imports + 'TCH', # flake8-type-checking + 'T100', # debugger, don't allow break points + 'ICN' # flake8-import-conventions ] exclude = [".git", ".tox", ".venv", "node_modules"]