-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (82 loc) · 2.83 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[tool.poetry]
name = "requests-tracker"
version = "0.3.3"
description = "The Django Requests Tracker is designed for local Django development, particularly for Rest API development. It provides various debugging information, such as SQL queries, headers, and status codes."
license = "MIT"
authors = ["Benedikt Óskarsson <[email protected]>"]
readme = "README.md"
repository = "https://github.com/bensi94/Django-Requests-Tracker"
documentation = "https://github.com/bensi94/Django-Requests-Tracker/blob/main/README.md"
keywords = ["django", "python", "sql", "middlware", "api", "rest", "debug", "htmx", "django-rest-framework", "django-ninja", "requests-tracker", "django-requests-tracker", "development"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Environment :: Web Environment",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
]
packages = [
{ include = "requests_tracker" },
]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
django = ">=3.2"
sqlparse = ">=0.4.3"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
pytest-sugar = "^1.0.0"
psycopg2 = "^2.9.9"
mypy = "^1.6.1"
pre-commit = "^3.5.0"
django-stubs = {extras = ["compatible-mypy"], version = "^4.2.7"}
types-psycopg2 = "^2.9.21.20240417"
pytest-env = "^1.1.3"
pytest-cov = "^5.0.0"
ruff = "^0.4.0"
pytest-django = "^4.8.0"
djhtml = "^3.0.6"
freezegun = "^1.4.0"
types-freezegun = "^1.1.10"
pytest-asyncio = "^0.23.6"
psycopg2-binary = "^2.9.9"
coverage = "^7.4.4"
[tool.pytest.ini_options]
env = [
"DJANGO_SETTINGS_MODULE = tests.django_settings"
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
[tool.coverage.run]
omit = ["tests/*", "example_project/*"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:", "except ImportError:"]
[tool.mypy]
plugins = "mypy_django_plugin.main"
exclude = "example_project"
[tool.django-stubs]
django_settings_module = "requests_tracker.settings"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"