mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
Document each ruff rule with comment
This commit is contained in:
parent
b8f4a9dcd0
commit
f247d07d61
1 changed files with 15 additions and 15 deletions
|
@ -131,21 +131,21 @@ line-length = 88
|
||||||
|
|
||||||
# https://beta.ruff.rs/docs/rules/
|
# https://beta.ruff.rs/docs/rules/
|
||||||
select = [
|
select = [
|
||||||
'E',
|
'F', # Pyflakes
|
||||||
'F',
|
'E', # pycodestyle errors
|
||||||
'W',
|
'W', # pycodestyle warnings
|
||||||
'I',
|
'I', # isort
|
||||||
'ASYNC',
|
'ASYNC', # flake8-async
|
||||||
'S110', # try-except-pass
|
'S110', # try-except-pass
|
||||||
'S112', # try-except-continue
|
'S112', # try-except-continue
|
||||||
'EM',
|
'EM', # flake8-errmsg
|
||||||
'ISC',
|
'ISC', # flake8-implicit-str-concat
|
||||||
'Q',
|
'Q', # flake8-quotes
|
||||||
'RSE',
|
'RSE', # flake8-raise
|
||||||
'TID',
|
'TID', # flake8-tidy-imports
|
||||||
'TCH',
|
'TCH', # flake8-type-checking
|
||||||
'T100', # debugger, don't allow break points
|
'T100', # debugger, don't allow break points
|
||||||
'ICN'
|
'ICN' # flake8-import-conventions
|
||||||
]
|
]
|
||||||
exclude = [".git", ".tox", ".venv", "node_modules"]
|
exclude = [".git", ".tox", ".venv", "node_modules"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue