-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (62 loc) · 1.36 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
[tool.poetry]
name = "ftw-django-utils"
version = "2024.1.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.9, <4"
django-configurations = "^2.4.1"
django-extensions = "^3.2.1"
sentry-sdk = "*"
djangorestframework = "^3"
django = "*"
django-sendfile2 = "^0.7.0"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
towncrier = "^22.12.0"
zest-releaser = "^7.3.0"
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