-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
128 lines (108 loc) · 2.41 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
[tool.poetry]
name = "landmatrix"
version = "0.1.0"
license = "AGPL-3.0+"
authors = [
"Simon Liedtke <[email protected]>",
"Andreas Nüßlein <[email protected]>",
]
readme = 'README.md'
description = "LandMatrix"
[tool.poetry.dependencies]
python = "^3.8"
Django = "<4"
djangorestframework = "<4"
wagtail = "<2.16"
psycopg2-binary = "*"
django-environ = "*"
django-cors-headers = "*"
fastjsonschema = "*"
pyelasticsearch = {git = "https://github.com/sinnwerkstatt/pyelasticsearch", branch = "batteriesincluded" }
djangorestframework-gis = "<1"
# greennewdeal
geojson-rewind = "*"
ariadne = ">=0.14"
ariadne_django = "*"
wagtail-orderable = ">=1.0.3"
# celery - still need? - what about caching? redis? memcached?
celery = "*"
redis = "*"
django-redis = "^4.12.1"
python-memcached = "*"
drf-yasg = "*"
django-crispy-forms = "*"
django-file-resubmit = "*"
django-modeltranslation = "*"
django-contrib-comments = "*"
django-threadedcomments = "*"
django-bootstrap3-datetimepicker-2 = "*"
django-impersonate = "*"
django-multiselectfield = "*"
django-recaptcha = "*"
django-registration = "*"
django-wkhtmltopdf = "*"
#wagtail-blog = "*"
wagtail-modeltranslation = "*"
geojson = "<2"
unicodecsv = "*"
openpyxl = "*"
tweepy = "*"
country-bounding-boxes = "*"
python-dateutil = "*"
#plumbing
doit = "*"
libsass = "*"
gunicorn = { version = "*", optional = true }
sentry_sdk = { version = "*", optional = true }
termtables = "^0.2.4"
[tool.poetry.dev-dependencies]
ipdb = "*"
pre-commit = "*"
black = { version = "*", allow-prereleases = true }
mypy = "*"
django-livereload = "*"
django-extensions = "*"
pytest-django = "*"
pytest-cov = "*"
pylint = "*"
pylint-django = "*"
#pydot = "*"
pygments = "*"
mkdocs = "*"
pydot = "^1.4.1"
[tool.poetry.extras]
production = ["gunicorn", "sentry_sdk"]
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| migrations
| static-collected
| node_modules
)/
'''
force-exclude = '''
/(
\.eggs
| \.git
| migrations
| static-collected
| node_modules
)/
'''
#
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = false
line_length = 88
known_first_party = 'apps'
known_django = 'celery,django,django_registration,wagtail'
default_section = 'THIRDPARTY'
sections = 'FUTURE,STDLIB,THIRDPARTY,DJANGO,FIRSTPARTY,LOCALFOLDER'
no_lines_before = 'LOCALFOLDER,DJANGO'