forked from Amsterdam/django-gisserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
40 lines (36 loc) · 815 Bytes
/
setup.cfg
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
[flake8]
exclude=.git,
**/migrations/*,
docs,
scripts,
max-line-length=99
ignore=
# Black may add spaces in slice[func(v) : end] syntax
E203,
# Black leaves commas after combining lines
E231,
# Allow lambdas:
E731,
# line break before binary operator (incompatible with black):
W503,
# Allow raise Exception()
R102,
#format = ${cyan}%(path)s${reset}:${yellow_bold}%%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s
max-complexity=9
statistics=True
jobs=1
[black]
line_length = 99
[isort]
profile = black
line_length = 88
[tool:pytest]
DJANGO_SETTINGS_MODULE=tests.settings
minversion = 5.0
strict = true
testpaths = tests
django_find_project = false
addopts = --nomigrations --reuse-db
[coverage:run]
branch = True
source = gisserver