[UPDATE] formating and some wezterm settings
This commit is contained in:
10
ruff.toml
10
ruff.toml
@@ -35,6 +35,7 @@ indent-width = 4
|
||||
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
||||
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||
# McCabe complexity (`C901`) by default.
|
||||
preview = true
|
||||
select = [
|
||||
# pycodestyle
|
||||
"E",
|
||||
@@ -54,7 +55,7 @@ select = [
|
||||
# pep8-naming
|
||||
"N",
|
||||
# flake8-annotations
|
||||
"ANN",
|
||||
# "ANN",
|
||||
# pylint
|
||||
"PL",
|
||||
"ARG"
|
||||
@@ -62,11 +63,6 @@ select = [
|
||||
ignore = [
|
||||
"N812",
|
||||
"SIM108",
|
||||
"ANN101",
|
||||
"ANN201",
|
||||
"ANN202",
|
||||
"ANN205",
|
||||
"ANN204",
|
||||
"PLR0911"
|
||||
]
|
||||
|
||||
@@ -77,4 +73,4 @@ unfixable = []
|
||||
# Allow unused variables when underscore-prefixed.
|
||||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
[format]
|
||||
quote-style = "single"
|
||||
quote-style = "double"
|
||||
|
||||
Reference in New Issue
Block a user