sanic/pyproject.toml

38 lines
654 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
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"]
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