2021-07-08 07:12:56 +01:00
|
|
|
[build-system]
|
2023-07-05 09:06:43 +01:00
|
|
|
requires = ["setuptools", "wheel"]
|
2021-07-08 07:12:56 +01:00
|
|
|
build-backend = "setuptools.build_meta"
|
2022-05-26 10:48:32 +01:00
|
|
|
|
2023-10-25 00:21:09 +01:00
|
|
|
[tool.ruff]
|
2023-10-25 02:06:06 +01:00
|
|
|
extend-select = ["I", "W"]
|
2023-10-25 02:03:44 +01:00
|
|
|
ignore = ["D100", "D101", "D102", "D103", "E402", "E741", "F811", "F821"]
|
|
|
|
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
|
|
|
|
2022-05-26 10:48:32 +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.*",
|
2022-12-17 21:46:22 +00:00
|
|
|
"aioquic.*",
|
2023-02-05 13:09:04 +00:00
|
|
|
"html5tagger.*",
|
2023-03-06 19:24:12 +00:00
|
|
|
"tracerite.*",
|
2022-06-27 09:19:26 +01:00
|
|
|
]
|
|
|
|
ignore_missing_imports = true
|