Update ruff config

This commit is contained in:
kagami 2024-05-09 21:16:22 +08:00
parent d81c33d1da
commit 8b33eaa947

View File

@ -1,6 +1,13 @@
[tool.ruff] [tool.ruff]
target-version = "py38"
line-length = 100 line-length = 100
[tool.ruff.lint] [tool.ruff.lint]
select = ["I"] # Enable the isort rules select = [
extend-select = ["E501"] # explicitly adding the rules "E", # Error
"W", # Warning
"F", # pyflakes
"I", # isort
]
fixable = ["ALL"]
extend-select = ["E501"] # Line too long