-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
98 lines (87 loc) · 2.52 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-webbugger"
version = "1.0.0"
description = "A tracking beacon library for Django applications"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Brandon R. Stoner", email = "monokrome@limpidtech.com" }
]
keywords = ["django", "tracking", "beacon", "analytics", "web"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: System :: Logging",
"Typing :: Typed",
]
requires-python = ">=3.10"
dependencies = [
"django>=4.2",
]
[project.optional-dependencies]
dev = [
"mypy>=1.0",
"django-stubs>=4.0",
"pytest>=7.0",
"pytest-django>=4.0",
"ruff>=0.1",
]
[project.urls]
Homepage = "https://github.com/LimpidTech/django-webbugger"
Repository = "https://github.com/LimpidTech/django-webbugger"
Issues = "https://github.com/LimpidTech/django-webbugger/issues"
[tool.hatch.build.targets.wheel]
packages = ["webbugger"]
[tool.mypy]
python_version = "3.10"
strict = true
plugins = ["mypy_django_plugin.main"]
exclude = ["migrations"]
[[tool.mypy.overrides]]
module = "webbugger.*"
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.django-stubs]
django_settings_module = "tests.settings"
[tool.ruff]
target-version = "py310"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["webbugger"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = ["test_*.py", "*_test.py"]