-
-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (124 loc) · 3.53 KB
/
pyproject.toml
File metadata and controls
138 lines (124 loc) · 3.53 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["flit_core>=3.12.0", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "django-health-check"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
authors = [
{ name = "Kristian Ollegaard", email = "kristian@oellegaard.com" },
{ name = "Johannes Maron", email = "johannes@maron.family" }
]
keywords = ["django", "postgresql"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
"Topic :: Utilities"
]
requires-python = ">=3.10"
dynamic = [
"version",
"description",
]
dependencies = [
"Django>=5.2.13",
"dnspython>=2.0.0",
]
[project.optional-dependencies]
psutil = ["psutil>=7.2.0"]
celery = ["celery>=5.6.3"]
kafka = ["confluent-kafka>=2.14.0"]
rabbitmq = ["aio-pika>=9.6.2"]
redis = ["redis>=4.2.0"]
rss = ["httpx>=0.27.0", "feedparser>=6.0.12"]
atlassian = ["httpx>=0.27.0"]
[project.urls]
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
Homepage = "https://github.com/codingjoe/django-health-check"
Changelog = "https://github.com/codingjoe/django-health-check/releases"
Source = "https://github.com/codingjoe/django-health-check"
Releasenotes = "https://github.com/codingjoe/django-health-check/releases/latest"
Documentation = "https://codingjoe.dev/django-health-check/"
Issues = "https://github.com/codingjoe/django-health-check/issues"
Funding = "https://github.com/sponsors/codingjoe"
[dependency-groups]
dev = [
{ include-group = "test" },
{ include-group = "docs" },
]
test = [
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-django",
"django-storages",
"boto3",
]
docs = [
"mkdocs",
"mkdocstrings[python]>=0.18",
"mkdocs-material",
"markdown-callouts",
"Pygments",
]
[tool.flit.module]
name = "health_check"
[tool.setuptools_scm]
write_to = "health_check/_version.py"
[tool.pytest.ini_options]
addopts = "--cov --strict-markers --cov-report=xml --cov-report=term --doctest-modules"
testpaths = [
"tests",
]
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
norecursedirs = ".git"
python_files = "test_*.py"
xfail_strict = true
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
]
[tool.coverage.run]
source = ["health_check"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle errors
"EXE", # flake8-executable
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = ["D1", "D203", "D212", "E501"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101", "S105", "PLR2004"]
[tool.ruff.lint.isort]
known-first-party = ["measurement", "tests"]
[tool.djlint]
profile="django"
indent=2
max_line_length=120
line_break_after_multiline_tag=true