-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
65 lines (54 loc) · 1.06 KB
/
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
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
[flake8]
# https://flake8.pycqa.org/en/latest/user/options.html
max_line_length = 120
max_complexity = 15
show_source = true
# count == 0 if there's no errors.
count = true
ignore =
E501
W503
# W605
# Better UX, w/ links for the error codes.
# format = '%(path)s:%(row)d,%(col)d:%(code)s:%(text)s: https://www.flake8rules.com/rules/%(code)s.html'
[isort]
# https://github.com/timothycrosley/isort/wiki/isort-Settings
multi_line_output = 3
force_grid_wrap = 2
include_trailing_comma = true
combine_as_imports = true
skip_glob = */conf/settings/*
filter_files = true
case_sensitive = true
# Define the Django imports.
known_django = django
# Define the ETS imports (FIRSTPARTY).
known_first_party =
acapi
backoffice
common
frontend
processing
redemption
scapi
sessions_api
settings
taapi
worker
aws
config
core
k8s
lotc
settings
slack
utils
sections =
FUTURE
STDLIB
DJANGO
THIRDPARTY
FIRSTPARTY
LOCALFOLDER
# Default for unknown imports.
default_section = THIRDPARTY