-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpyproject.toml
143 lines (130 loc) · 3.28 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
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "devilry"
requires-python = ">=3.9.0"
dynamic = ["version"]
description = "A system for handling electronic deliveries. See https://github.com/devilry/devilry-django."
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Espen Angell Kristiansen", email = "[email protected]" },
{ name = "Tor Johansen" },
{ name = "Bendik Opstad" },
{ name = "Vegard Angell" },
{ name = "Magne Westlie" },
{ name = "Ilya Kostolomov" },
{ name = "Christian Tryti" },
{ name = "Rebekka M\u00F8rken" },
{ name = "Stian Julseth" },
{ name = "Åsmund J. Rosendahl" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
dependencies = [
"Django>=4.2.0,<4.3.0",
"gunicorn>=21.2.0",
"Markdown>=3.3.0,<3.4.0",
"Pygments>=2.15.0,<2.16.0",
"django-crispy-forms>=1.14.0,<1.15.0",
"django-rq",
"psycopg",
"cradmin_legacy>=5.0.1,<6.0.0",
"ievv_opensource>=9.2.2,<10.0.0",
"xlsxwriter",
"arrow>=0.12.0,<0.13.0",
"html2text",
"djangorestframework",
"django-allauth[socialaccount]>=0.62.0",
"requests",
"urllib3>=1.26.0",
"pycountry>=18",
"html-sanitizer",
"whitenoise",
]
[project.optional-dependencies]
s3storage = [
"boto3",
"django-storages",
]
dev = [
"dj-database-url",
"openpyxl",
"model-bakery",
"BeautifulSoup4",
"htmls",
"flake8",
"tox",
"pyflakes",
"boto3",
"django-storages",
"django-auth-ldap",
"pip-tools",
"django-debug-toolbar",
"humanize", # DEVILRY_MEMORY_DEBUG_ENABLED=True
"psutil", # Only used when DEVILRY_MEMORY_DEBUG_ENABLED=True
]
test = [
"htmls",
"pytest",
"pytest-django",
"pytest-env",
"model-bakery",
"coverage",
]
docs = [
"sphinx",
]
[project.scripts]
ievv = "ievv_opensource.ievvtasks_common.cli:cli"
[tool.hatch.version]
path = "devilry/__init__.py"
[tool.hatch.build]
packages = ["/devilry"]
exclude = [
"node_modules",
"/devilry/devilry_theme3/staticsources",
"/devilry/project/develop/dumps/default.sql",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "6.3.8"
version_files = ["devilry/__init__.py:__version__"]
tag_format = "$version"
update_changelog_on_bump = true
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[tool.basedpyright]
typeCheckingMode = "standard"
# typeCheckingMode = "basic"
reportMissingImports = true
reportMissingTypeStubs = false
reportMissingTypeArgument = false
reportAny = false
reportImplicitOverride = false
reportUnknownParameterType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
reportUnknownMemberType = false
reportMissingParameterType = false
reportUnusedCallResult = false
reportOperatorIssue = "warning"
reportDeprecated = "warning"
reportImplicitStringConcatenation = false
reportIndexIssue = "warning"
reportInvalidCast = "warning"
reportAttributeAccessIssue = "warning"
reportIncompatibleVariableOverride = "warning"
pythonVersion = "3.10"
pythonPlatform = "Linux"