/
pyproject.toml
130 lines (124 loc) · 3.13 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
[tool.poetry]
name = "go-api"
version = "1.1.419"
description = ""
authors = ["go-dev <go-dev@ifrc.org>"]
license = "MIT License"
[tool.poetry.dependencies]
python = "^3.8"
# Better than a wired-in subversion:
Django = ">=3.2,<3.3"
Markdown = "==3.3.4"
Pillow = "==10.3.0"
PyPDF2 = "==1.27.9"
pdf2image = "==1.16.0"
azure-storage = "==0.36.0"
azure-common = "==1.1.19"
azure-nspkg = "==3.0.2"
azure-storage-blob = "==1.5.0"
azure-storage-common = "==1.4.0"
azure-storage-logging = "==0.5.1"
azure-storage-nspkg = "==3.1.0"
beautifulsoup4 = "==4.6.3"
boto3 = "==1.20.38"
choicesenum = "==0.7.0"
coreapi = "==2.3.3"
coreschema = "==0.0.4"
coverage = "==4.4.2"
cryptography = "==42.0.4"
django-admin-autocomplete-filter = "*"
django-admin-list-filter-dropdown = "*"
django-cors-headers = "==3.11.0"
django-coverage = "==1.2.4"
django-enumfield = "==2.0.2"
django-extensions = "==2.0.6"
django-filter = "==2.4.0"
django-guardian = "==2.4.0"
django-modeltranslation = "==0.17.5"
django-read-only = "==1.12.0"
django-reversion-compare = "==0.9.0"
django-reversion = "==3.0.5"
django-storages = "==1.11.1"
django-tinymce4-lite = "==1.7.4"
djangorestframework-csv = "==2.1.1"
djangorestframework-guardian = "==0.1.1"
#djangorestframework = "==3.12.4"
djangorestframework = "==3.11.2"
djangorestframework-camel-case = "==1.2.0"
django-environ = "==0.8.1"
# upgrade elasticsearch? Keep synched with init-es.sh: a new docker image (es vm) is also needed. Then manage.py index_elasticsearch!"
elasticsearch = "==7.0.0"
factory_boy = "==2.12.0"
fuzzywuzzy = "==0.17.0"
graphene-django = "^2.15.0"
graphene = "^2.0"
graphql-core = "^2.0"
gunicorn = "==22.0.0"
lxml = "==4.9.1"
opencensus-ext-azure = "==1.0.7"
opencensus-ext-django = "==0.7.4"
pandas = "==1.3.5"
"pdfminer.six" = "==20191110"
pytidylib = "==0.3.2"
polib = "==1.1.0"
psycopg2-binary = "*"
pycountry = "==19.8.18"
pydash = "==4.8.0"
python-Levenshtein = "==0.12.1"
python-dateutil = "==2.8.0"
python-magic = "==0.4.27"
python-mimeparse = "==1.6.0"
pytz = "==2019.1"
openpyxl = "==3.0.10"
requests = "==2.31.0"
tabula-py = "==1.2.0"
typing = "==3.6.2"
# urllib3 = "==1.26.12"
xmltodict = "==0.11.0"
xhtml2pdf = "*"
reportlab = "*" # XXX: Used by xhtml2pdf reportlab==3.6.7 breaks for now
celery = { version = "==5.1.2", extras = ["redis"] }
django-redis = "==5.0.0"
sentry-sdk = "*"
django-haystack = { version = "*", extras = ["elasticsearch"] }
drf-spectacular = "*"
mapbox-tilesets = "*"
ipython = "*"
[tool.poetry.dev-dependencies]
pytest-profiling = "*"
pytest-ordering = "*"
pytest-django = "*"
snapshottest = "==0.6.0"
django-debug-toolbar = "==4.1.0"
django-stubs = { version = "*", allow-prereleases = true }
[tool.pyright]
extraPaths = ["apps"]
exclude = [
"**/node_modules",
"**/__pycache__",
"apps/experimental",
"apps/typestubs",
"**/snap_test_*.py",
]
reportMissingImports = true
reportMissingTypeStubs = false
[tool.black]
line-length = 125
py36 = true
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
'''
extend-exclude = '^.*\b(migrations)\b.*$'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"