-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.56 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (55 loc) · 1.56 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
[tool.poetry]
name = "django-postgresql-reconnect"
homepage = "https://github.com/cloudblue/django-postgresql-reconnect"
repository = "https://github.com/cloudblue/django-postgresql-reconnect"
version = "0.0.0"
description = ""
authors = ["CloudBlue LLC"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: Unix",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Database",
]
[tool.poetry.dependencies]
python = "^3.9"
Django = ">=3.2,<5"
[tool.poetry.group.dev.dependencies]
pytest = "7.*"
pytest-cov = "3.*"
pytest-factoryboy = "2.*"
pytest-mock = "3.*"
typing-extensions = ">=4.6.0"
flake8 = "7.*"
pytest-django = "^4.5.2"
psycopg2-binary = "2.*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
log_cli = true
addopts = "--junitxml=tests/reports/out.xml --cov=django_postgresql_reconnect --cov-report xml:tests/reports/coverage.xml --cov-report html:tests/reports/cov_html"
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
omit = [
"*/migrations/*",
"*/config/*",
"*/settings/*",
"*/manage.py",
"*/wsgi.py",
"*/urls.py"
]
exclude_lines = [
"pragma: no cover",
"def __str__",
"def __repr__",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]