-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
131 lines (116 loc) · 3.6 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
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
# project ######################################################################
[project]
authors = [{ "name" = "Phil Gyford", "email" = "[email protected]" }]
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",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"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 :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"Django>=4.2",
"django-imagekit>=4.0,<6.0",
"hashids>=1.2.0,<1.4",
"piexif>=1.1.3,<2.0",
"pillow>=9.0.0,<12.0",
]
description = "A Django app to track book reading, movie viewing, gig going, play watching, etc."
dynamic = ["version"]
keywords = [
"spectator",
"books",
"reading",
"cinema",
"gigs",
"theatre",
"theater",
]
license = { file = "LICENSE" }
name = "django-spectator"
readme = "README.md"
requires-python = ">=3.9"
[project.urls]
"Changelog" = "https://github.com/philgyford/django-spectator/blob/main/CHANGELOG.md"
"Documentation" = "https://github.com/philgyford/django-spectator/blob/main/README.md"
"Issues" = "https://github.com/philgyford/django-spectator/issues"
"Source Code" = "https://github.com/philgyford/django-spectator"
# dependency-groups ############################################################
[dependency-groups]
dev = [
"coverage[toml]",
"factory-boy",
"freezegun",
"pre-commit",
"python-dotenv",
"pyupgrade",
"ruff",
"unittest-parametrize",
]
# coverage #####################################################################
[tool.coverage.paths]
# Reduce length of paths in the report
# via https://hynek.me/articles/testing-packaging/
source = ["src", ".tox/py*/**/site-packages"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
parallel = true
omit = ["*/migrations/*.py"]
source = ["spectator"]
# ruff #########################################################################
[tool.ruff]
extend-exclude = ["*/migrations/*"]
line-length = 88
target-version = "py39"
[tool.ruff.lint]
ignore = []
select = [
# Reference: https://docs.astral.sh/ruff/rules/
"B", # flake8-bugbear
"E", # pycodestyle
"F", # Pyflakes
"G", # flake8-logging-format
"I", # isort
"N", # pip8-naming
"Q", # flake8-quotes
"BLE", # flake8-blind-except
"DJ", # flake8-django
"DTZ", # flake8-datetimez
"EM", # flake8-errmsg
"INP", # flake8-no-pep420
"FBT", # flake8-boolean-trap
"PIE", # flake8-pie
"RSE", # flake-raise
"SIM", # flake8-simplify
"T20", # flake8-print
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"RUF100", # unused-noqa
"RUF200", # invalid-pyproject-toml
]
# setuptools ###################################################################
[tool.setuptools.dynamic]
version = { attr = "src.spectator.__version__" }
# uv ###########################################################################
[tool.uv]
# Ensure Tox always gets a fresh package.
reinstall-package = ["spectator"]