-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
85 lines (78 loc) · 1.82 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
# Exclude the coverage report file from setuptools package finder
exclude = ["htmlcov"]
[project]
name = "Liionsden"
version = "0.2.0"
authors = [
{ name = "Imperial College London RSE Team", email = "[email protected]" },
]
requires-python = ">=3.11"
dependencies = [
"pandas",
"psycopg2-binary",
"django_jsoneditor",
"Django>=5.0",
"djangorestframework",
"preparenovonix",
"PyYAML",
"xlrd",
"django-extensions",
"django-ipware",
"coreapi-cli",
"django-mptt",
"idutils",
"whitenoise",
"model_bakery",
"django-guardian",
"django-bootstrap5",
"django-tables2",
"django-cleanup",
"python-magic",
"django-better-admin-arrayfield",
"django-crispy-forms",
"crispy-bootstrap5",
"django-bootstrap-datepicker-plus",
"django-filter",
"tablib",
"openpyxl",
"django-storages[azure]",
"django-override-storage",
"molmass",
"plotly",
"oauthlib",
"pillow",
"cryptography",
"debugpy",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pip-tools",
"pre-commit",
]
[tool.mypy] # TODO: increase the strictness here
# disallow_any_explicit = true
# disallow_any_generics = true
warn_unreachable = true
warn_unused_ignores = true
# disallow_untyped_defs = true
explicit_package_bases = true
[tool.ruff]
exclude = ["*/migrations"]
target-version = "py311"
[tool.ruff.lint]
select = [
# "D", # pydocstyle - TODO: enable this when working on the documentation
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"UP", # pyupgrade
"RUF", # ruff
]
ignore = ["RUF012"] # Typing on mutable class attributes
pydocstyle.convention = "google"