代码拉取完成,页面将自动刷新
同步操作将从 Wu Clan/httpfpt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
line-length = 120
cache-dir = "./httpfpt/.ruff_cache"
unsafe-fixes = true
target-version = "py310" # 代码风格版本
[lint]
select = [
"E",
"F",
"I",
"W",
"N",
"FA",
"TCH",
"T20",
"FURB",
# UP
"UP004",
"UP006",
"UP007",
"UP008",
"UP034",
"UP037",
"UP039",
# ANN
"ANN001",
"ANN201",
"ANN202",
"ANN204",
"ANN205",
"ANN206",
# PIE
"PIE810",
# PT
"PT018",
# SIM
"SIM101",
"SIM114",
# PGH
"PGH004",
# PRF
"PERF101",
"PERF102",
# RUF
"RUF100",
"RUF013",
"RUF027",
]
preview = true
ignore-init-module-imports = true
ignore = ["FURB101"]
[lint.flake8-pytest-style]
mark-parentheses = false
parametrize-names-type = "list"
parametrize-values-row-type = "list"
parametrize-values-type = "tuple"
[lint.flake8-unused-arguments]
ignore-variadic-names = true
[lint.isort]
lines-between-types = 1
order-by-type = true
[lint.flake8-annotations]
mypy-init-return = true
[lint.per-file-ignores]
"httpfpt/testcases/test_*.py" = ["ANN"]
"httpfpt/conftest.py" = ["ANN"]
"httpfpt/cli.py" = ["E402"]
"httpfpt/run.py" = ["E402"]
[format]
quote-style = "single"
docstring-code-format = true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。