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
|
[build-system]
requires = ["flit_core>=3.2", "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" }
]
homepage = "https://github.com/revsys/django-health-check"
keywords = ["django", "postgresql"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.2",
"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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: System :: Logging",
"Topic :: System :: Monitoring",
"Topic :: Utilities"
]
requires-python = ">=3.9"
dynamic = [
"version",
"description",
]
dependencies = [
"Django>=4.2",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-django",
"celery",
"redis",
"django-storages",
"boto3",
]
docs = ["sphinx"]
lint = [
"ruff==0.11.13",
]
[tool.flit.module]
name = "health_check"
[tool.setuptools_scm]
write_to = "health_check/_version.py"
[tool.pytest.ini_options]
addopts = "--nomigrations --reuse-db --strict-markers"
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
norecursedirs = ".git"
python_files = "test_*.py"
xfail_strict = true
[tool.coverage.run]
branch = true
omit = [
"*/migrations/*",
"*/tests/*",
"*/test_*.py",
".eggs/*"
]
[tool.coverage.report]
ignore_errors = true
show_missing = true
skip_covered = true
sort = "Cover"
[tool.ruff]
line-length = 120
target-version = "py39"
[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"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101", "S105", "PLR2004"]
[tool.ruff.lint.isort]
known-first-party = ["measurement", "tests"]
|