-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
78 lines (67 loc) · 1.98 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "uvicorn-worker"
description = "Uvicorn worker for Gunicorn! ✨"
readme = "README.md"
authors = [{ name = "Marcelo Trylesinski", email = "marcelotryle@gmail.com" }]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = "BSD-3-Clause"
requires-python = ">=3.9"
dependencies = ["uvicorn>=0.15.0", "gunicorn>=20.1.0"]
optional-dependencies = {}
dynamic = ["version"]
[project.urls]
Changelog = "https://github.com/Kludex/uvicorn-worker/releases"
Funding = "https://github.com/sponsors/Kludex"
Source = "https://github.com/Kludex/uvicorn-worker"
[tool.hatch.version]
path = "uvicorn_worker/__init__.py"
[tool.mypy]
warn_unused_ignores = true
warn_redundant_casts = true
show_error_codes = true
disallow_untyped_defs = true
ignore_missing_imports = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "FA", "UP"]
ignore = ["B904", "B028"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
filterwarnings = ["error", "ignore::DeprecationWarning"]
[tool.coverage.run]
source = ["uvicorn_worker", "tests"]
parallel = true
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 100
exclude_lines = [
"pragma: no cover",
"pragma: nocover",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
"raise NotImplementedError",
]