chore: touch up Ruff, add exe check
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Regular → Executable
Regular → Executable
+5
-3
@@ -121,7 +121,7 @@ messages_control.disable = [
|
|||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
select = [
|
select = [
|
||||||
"E", "F", "W", # flake8
|
"E", "F", "W", # flake8
|
||||||
"B", "B904", # flake8-bugbear
|
"B", # flake8-bugbear
|
||||||
"I", # isort
|
"I", # isort
|
||||||
"ARG", # flake8-unused-arguments
|
"ARG", # flake8-unused-arguments
|
||||||
"C4", # flake8-comprehensions
|
"C4", # flake8-comprehensions
|
||||||
@@ -130,16 +130,18 @@ select = [
|
|||||||
"ISC", # flake8-implicit-str-concat
|
"ISC", # flake8-implicit-str-concat
|
||||||
"PGH", # pygrep-hooks
|
"PGH", # pygrep-hooks
|
||||||
"PIE", # flake8-pie
|
"PIE", # flake8-pie
|
||||||
"PLC", "PLE", "PLW", # pylint
|
"PL", # pylint
|
||||||
"PT", # flake8-pytest-style
|
"PT", # flake8-pytest-style
|
||||||
"RET", # flake8-return
|
"RET", # flake8-return
|
||||||
"RUF", # Ruff-specific
|
"RUF", # Ruff-specific
|
||||||
"SIM", # flake8-simplify
|
"SIM", # flake8-simplify
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
"YTT", # flake8-2020
|
"YTT", # flake8-2020
|
||||||
|
"EXE", # flake8-executable
|
||||||
]
|
]
|
||||||
extend-ignore = [
|
extend-ignore = [
|
||||||
"PLR2004", "E501",
|
"PLR", # Design related pylint codes
|
||||||
|
"E501", # Line too long
|
||||||
"RET504", "RET505", "RET508", # else after control flow
|
"RET504", "RET505", "RET508", # else after control flow
|
||||||
"PT004", # Rename suggested for returnless fixtures
|
"PT004", # Rename suggested for returnless fixtures
|
||||||
"PT007", # False positive (fixed upstream)
|
"PT007", # False positive (fixed upstream)
|
||||||
|
|||||||
Reference in New Issue
Block a user