sanic/pyproject.toml

56 lines
1001 B
TOML
Raw Normal View History

[build-system]
2023-07-05 09:06:43 +01:00
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
2023-10-25 00:21:09 +01:00
[tool.ruff]
extend-select = ["I", "W", "UP", "C4", "ISC"]
# Worth selecting but still too broken: ASYNC, S, B, DTZ, FA
ignore = [
"D100",
"D101",
"D102",
"D103",
"E402",
"E741",
"F811",
"F821",
# ruff format complains about these:
"ISC001",
"W191",
]
2023-10-25 02:03:44 +01:00
line-length = 79
show-source = true
show-fixes = true
2023-10-25 01:03:35 +01:00
[tool.ruff.isort]
known-first-party = ["sanic"]
known-third-party = ["pytest"]
lines-after-imports = 2
lines-between-types = 1
2023-10-25 00:21:09 +01:00
[tool.black]
line-length = 79
[tool.isort]
atomic = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_first_party = "sanic"
known_third_party = "pytest"
line_length = 79
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
profile = "black"
2022-06-27 09:19:26 +01:00
[[tool.mypy.overrides]]
module = [
2022-06-28 08:53:03 +01:00
"httptools.*",
2022-06-27 09:19:26 +01:00
"trustme.*",
"sanic_routing.*",
"aioquic.*",
"html5tagger.*",
"tracerite.*",
2022-06-27 09:19:26 +01:00
]
ignore_missing_imports = true