-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 1.36 KB
/
pyproject.toml
File metadata and controls
71 lines (62 loc) · 1.36 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
[tool.poetry]
name = "ftw-django-utils"
version = "2025.2.0"
description = "A collection of utils used in our Django based web applications."
authors = ["4teamwork AG"]
readme = "README.md"
packages = [{include = "django_utils"}]
[tool.poetry.dependencies]
python = ">=3.12, <4"
django-configurations = "^2.5"
django-extensions = "^4"
sentry-sdk = "*"
djangorestframework = "^3"
django = "^4"
django-sendfile2 = "^0.7"
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
isort = "^6.0.1"
flake8 = "^7.3.0"
towncrier = "^25.8.0"
zest-releaser = "^9.6.2"
zestreleaser-towncrier = "^1.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 125
exclude = '''
(
/(
\.git
| \.venv
| \.eggs
)/
)
'''
[tool.isort]
force_alphabetical_sort_within_sections = true
force_single_line = true
from_first = false
known_first_party = "django_utils"
line_length = 125
lines_after_imports = 2
skip_glob = ".venv,.eggs"
[tool.towncrier]
package = "django_utils"
directory = "changes"
template = "towncrier.md"
filename = "CHANGELOG.md"
underlines = ["-", ""]
[[tool.towncrier.type]]
directory = "feature"
name = "New features:"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes:"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other changes:"
showcontent = true