-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
59 lines (53 loc) · 1.37 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
[project]
name = "dc_django_utils"
dynamic = ["version"]
description = "This is a package to provide some common utilities for Django projects at Democracy Club."
readme = "README.md"
authors = [{name = "Sym Roe"}, {name = "Virginia Dooley"}]
dependencies = [
"django>=4.2",
"django-pipeline>=3.0.0",
"markdown",
"django-localflavor>=4.0",
"setuptools>=69.2.0",
"whitenoise",
"pysass",
"jsmin<3.1",
"pytidylib",
]
[project.optional-dependencies]
dev = [
"djhtml==3.0.6",
"ruff==0.6.1",
"pre-commit>=3.0.0",
"ipdb==0.13.13",
"pytest==8.3.2",
"pytest-django==4.8.0",
"pytest-mock==3.14.0",
"pytest-flakes==4.0.5",
"pytest-ruff==0.4.1",
"dc-design-system @ https://github.com/DemocracyClub/design-system/archive/refs/tags/0.5.0.tar.gz",
]
ci = [
"tox==4.18.0"
]
[tool.setuptools.dynamic]
# set the package version number from __version__
version = {attr = "dc_utils.__version__"}
[project.urls]
Homepage = "https://github.com/DemocracyClub/dc_django_utils"
Changelog = "https://github.com/DemocracyClub/dc_django_utils/releases"
Issues = "https://github.com/DemocracyClub/dc_django_utils/issues"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 80
lint.ignore = ["E501"]
lint.extend-select = [
"I",
"C4",
"SIM",
"Q003",
"RET",
]