-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (45 loc) · 1.11 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[tool.poetry]
name = "fastapi-cdn-host"
version = "0.4.3"
description = ""
authors = ["Waket Zheng <waketzheng@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
fastapi = {version = ">=0.100"}
httpx = {version = ">=0.23"}
[tool.poetry.group.dev.dependencies]
fast-dev-cli = {extras = ["all"], version=">=0.7.0", python=">=3.11"}
pre-commit = {version=">=3.7.0", python=">=3.11"}
asyncur = {version=">=0.5.0", python=">=3.11"}
bandit = "^1.7.8"
ruff = "^0.4.3"
mypy = "^1.10.0"
pytest = "^8.2.0"
coverage = "^7.5.1"
click = "^8.1.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
pretty = true
ignore_missing_imports = true
explicit_package_bases = true
check_untyped_defs = true
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["E501"]
"examples/main.py" = ["I001"]
[tool.coverage.run]
branch = true
parallel=true
source = ["fastapi_cdn_host"]
[tool.coverage.report]
omit = ["*/tests/*", "test_*"]
exclude_lines = [
"pragma: no cover",
"@overload",
'if __name__ == "__main__":',
"if TYPE_CHECKING:",
]