-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (63 loc) · 1.42 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
[tool.poetry]
name = "knowledge-gql-products"
version = "1.0.0"
description = ""
authors = [
"Jorgen Ader <jorgen@thorgate.eu>"
]
[tool.poetry.dependencies]
python = "^3.8"
environs = "==7.*"
Flask = "==1.*"
Flask-GraphQL = "==2.*"
Flask-PyMongo = "==2.*"
Flask-JWT-Extended = "==3.*"
graphene-mongo = "==0.2.*"
graphene-federation = "==0.*"
[tool.poetry.dev-dependencies]
black = { version = "^19.10b0", python = "^3.8" }
coverage = "*"
flake8 = "==3.5.*"
isort = "==4.*"
pytest = "==4.*"
pytest-cov = "*"
prospector = "==1.1.6.2"
pycodestyle = "*"
pylint = "<2.3"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| docs
| fabfile.py
| local.py
| local_test.py
)
'''
[tool.isort]
skip = 'settings/local.py,settings/local_test.py,fabfile.py,project_light_keepers/wsgi.py,project_light_keepers/asgi.py'
skip_glob="node_modules"
line_length = '88'
atomic = 'true'
multi_line_output = '3'
include_trailing_comma = 'true'
known_django = "django"
known_pytest = "pytest"
known_first_party = "accounts,project_light_keepers"
lines_between_types = '0'
sections = "FUTURE,STDLIB,DJANGO,PYTEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
lines_after_imports = '2'
force_alphabetical_sort_within_sections = '1'