added default ty and ruff config
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
extend="~/.config/ruff/ruff.toml"
|
||||||
|
indent-width = 4
|
||||||
|
line-length = 120
|
||||||
|
target-version = "py312"
|
||||||
|
exclude = [ "*.ipynb", "interfaces/**" ]
|
||||||
|
|
||||||
|
# [format]
|
||||||
|
# docstring-code-format = true
|
||||||
|
# docstring-code-line-length = "dynamic"
|
||||||
|
# indent-style = "space"
|
||||||
|
# line-ending = "auto"
|
||||||
|
# quote-style = "double"
|
||||||
|
# skip-magic-trailing-comma = false
|
||||||
|
#
|
||||||
|
# [lint]
|
||||||
|
# preview = true
|
||||||
|
# Add any linter rules from here: https://docs.astral.sh/ruff/rules/
|
||||||
|
# select = [
|
||||||
|
# ]
|
||||||
|
# extend-select = [ "ANN001", "ANN201", "ANN202", "ANN205", "ANN206"
|
||||||
|
# ]
|
||||||
|
# extend-select = ["B", "Q", "W", "C", "D", "ANN", "I", "S", "BLE",
|
||||||
|
# "A", "COM", "T", "EM", "ICN", "G", "PIE",
|
||||||
|
# "PT", "PYI", "RSE", "RET", "SLF", "SLOT", "SIM",
|
||||||
|
# "ARG", "PD", "PLC", "FLY", "NPY", "PERF", "FURB", "RUF", "E501"]
|
||||||
|
# extend-ignore = ["D203", "D212", "D205", "D406", "D407", "D413", "E402", "PD011", "PT009", "PT027", "ANN101", "SIM401", "COM812", "G004", "S101"]
|
||||||
|
|
||||||
|
# extend-select = ["B", "E", "F", "Q", "W", "C", "D", "ANN", "I", "S", "BLE",
|
||||||
|
# "A", "COM", "T", "EM", "ICN", "G", "PIE",
|
||||||
|
# "PT", "PYI", "RSE", "RET", "SLF", "SLOT", "SIM",
|
||||||
|
# "ARG", "PD", "PLC", "FLY", "NPY", "PERF", "FURB", "RUF", "C4"]
|
||||||
|
# extend-ignore = ["D203", "D212", "D205", "D406", "D407", "D413", "E402", "PD011", "PT009", "PT027", "ANN101", "ANN102", "SIM401", "COM812", "G004", "S101", "S301", "S608", "D100", "D101", "D102", "D103", "D105", "D107", "D401", "D400", "ANN401", "PLC0415"]
|
||||||
Reference in New Issue
Block a user