chore: apply ruff E501 line-too-long linter rule (#8275)

Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
Bowen Liang
2024-09-12 14:00:36 +08:00
committed by GitHub
parent 56c90e212a
commit c69f5b07ba
85 changed files with 459 additions and 324 deletions

View File

@@ -27,7 +27,6 @@ select = [
"W605", # invalid-escape-sequence
]
ignore = [
"E501", # line-too-long
"E402", # module-import-not-at-top-of-file
"E711", # none-comparison
"E712", # true-false-comparison
@@ -68,16 +67,19 @@ ignore = [
"F401", # unused-import
"F811", # redefined-while-unused
]
"tests/*" = [
"F401", # unused-import
"F811", # redefined-while-unused
]
"configs/*" = [
"N802", # invalid-function-name
]
"libs/gmpy2_pkcs10aep_cipher.py" = [
"N803", # invalid-argument-name
]
"migrations/versions/*" = [
"E501", # line-too-long
]
"tests/*" = [
"F401", # unused-import
"F811", # redefined-while-unused
]
[tool.ruff.format]
exclude = [
@@ -270,4 +272,4 @@ optional = true
[tool.poetry.group.lint.dependencies]
dotenv-linter = "~0.5.0"
ruff = "~0.6.1"
ruff = "~0.6.4"