-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (63 loc) · 1.58 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
[tool.pyright]
executionEnvironments = [{ root = "back" }]
[build-system]
requires = ["setuptools==65.5.0"]
build-backend = "setuptools.build_meta"
[project]
name = "sepraps"
version = "0.0.1"
authors = [
{ name="iCarto", email="info@icarto.es" },
]
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Private :: Do Not Upload"
]
requires-python = "==3.11.*"
dependencies = [
"Django==4.2",
"django-cors-headers==3.14.0",
"django-environ==0.10.0",
"django-extensions==3.2.1",
"django-filter==23.1",
"django-spa==0.3.6",
"djangorestframework==3.14.0",
"djangorestframework-simplejwt==5.2.2",
"djangorestframework-gis==1.0",
"drf-extensions==0.7.1",
"psycopg[binary]==3.1.8",
"geopandas==0.12.2",
"xlrd==2.0.1",
"openpyxl==3.1.2 ",
"Pillow==10.0.0 ",
"django-debug-toolbar==4.0.0",
"drf-spectacular==0.26.2",
"sentry-sdk==1.20.0",
]
[tool.setuptools]
package-dir = {"sepraps" = "back"}
include-package-data = true
[tool.setuptools.package-data]
# *.css *.woff *.svg *.js *.gif *.ico *.png *.jpg *.html *.js.map
"sepraps.static" = ["**"]
"sepraps.templates" = ["**"]
"sepraps.app.data" = ["**"]
[tool.ruff]
extend = "./config/pyproject.toml"
extend-exclude = [
"/**/migrations/*", # folders excluded when working with django
]
[tool.ruff.lint]
extend-ignore = ["ANN", "ERA", "TCH"]
[tool.ruff.lint.isort]
# https://docs.astral.sh/ruff/settings/#isort-known-third-party
known-first-party = [
"app",
"back",
"documents",
"domains",
"users",
"questionnaires",
"log",
]