-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
54 lines (47 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
[bdist_wheel]
universal = 1
[coverage:run]
source = .
omit =
.tox/*
.eggs/*
*migrations*
[coverage:report]
exclude_lines =
pragma: no cover
if __name__ == .__main__.:
[flake8]
max-line-length = 120
per-file-ignores =
# imported but unused
__init__.py: F401
exclude =
.git,*.egg*,venv,.venv,
ignore =
# line break before binary operator
W503
# Allow '{}'.format(a) (without index, {0})
P101
[isort]
line_length = 120
combine_star = true
order_by_type = true
case_sensitive = true
no_lines_before = LOCALFOLDER
reverse_relative = true
multi_line_output = 2
combine_as_imports = true
[yapf]
# see https://github.com/google/yapf/blob/main/yapf/yapflib/style.py
based_on_style = pep8
allow_split_before_dict_value = false
coalesce_brackets = true
column_limit = 120
dedent_closing_brackets = true
space_between_ending_comma_and_closing_bracket = false
spaces_around_power_operator = true
split_arguments_when_comma_terminated = true
split_before_arithmetic_operator = true
split_before_expression_after_opening_paren = true
[bandit]
exclude = tests/*