mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🔧 启用一些 ruff 规则
This commit is contained in:
@@ -88,10 +88,12 @@ select = [
|
|||||||
'ICN', # flake8-import-conventions
|
'ICN', # flake8-import-conventions
|
||||||
'PIE', # flake8-pie
|
'PIE', # flake8-pie
|
||||||
'T20', # flake8-print
|
'T20', # flake8-print
|
||||||
|
'PYI', # flake8-pyi
|
||||||
'Q', # flake8-quotes
|
'Q', # flake8-quotes
|
||||||
'RSE', # flake8-raise
|
'RSE', # flake8-raise
|
||||||
'RET', # flake8-return
|
'RET', # flake8-return
|
||||||
'SLF', # flake8-self
|
'SLF', # flake8-self
|
||||||
|
'SLOT', # flake8-slots
|
||||||
'SIM', # flake8-simplify
|
'SIM', # flake8-simplify
|
||||||
'TID', # flake8-tidy-imports
|
'TID', # flake8-tidy-imports
|
||||||
'TCH', # flake8-type-checking
|
'TCH', # flake8-type-checking
|
||||||
@@ -103,6 +105,7 @@ select = [
|
|||||||
'PL', # pylint
|
'PL', # pylint
|
||||||
'TRY', # tryceratops
|
'TRY', # tryceratops
|
||||||
'FLY', # flynt
|
'FLY', # flynt
|
||||||
|
'FAST', # FastAPI
|
||||||
'PERF', # Perflint
|
'PERF', # Perflint
|
||||||
'FURB', # refurb
|
'FURB', # refurb
|
||||||
'RUF', # Ruff-specific rules
|
'RUF', # Ruff-specific rules
|
||||||
|
|||||||
Reference in New Issue
Block a user