-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
120 lines (102 loc) · 4.59 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
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
[aliases]
test=pytest
# PyTest
[tool:pytest]
minversion = 2.9.1
norecursedirs = .venv .vscode
addopts = -s -vrax --randomly-dont-reorganize --ff
testpaths = tests
console_output_style = progress
cache_dir = .cache/pytest
python_classes = Test*
python_files = tests_*.py
python_functions = test_*
filterwarnings = ignore::DeprecationWarning
markers =
docker
brew
click
e2e
# Coverage
[coverage:run]
branch = True
source = deadlinks
parallel = True
[coverage:report]
# show missing lines numbers
show_missing = True
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive
# assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
[coverage:html]
directory=.cache/html-coverage
# yapf
# https://github.com/google/yapf
[yapf]
based_on_style = google
align_closing_bracket_with_visual_indent = True
allow_multiline_lambdas = False
allow_multiline_dictionary_keys = False
allow_split_before_default_or_named_assigns = False
allow_split_before_dict_value = False
arithmetic_precedence_indication = True
blank_lines_around_top_level_definition = 2
; turn this on if yapf 0.29
; blank_lines_around_sub_level_definition = 2
blank_line_before_class_docstring = False
blank_line_before_module_docstring = True
blank_line_before_nested_class_or_def = True
coalesce_brackets = True
column_limit = 100
continuation_align_style = SPACE
continuation_indent_width = 4
dedent_closing_brackets = False
disable_ending_comma_heuristic = False
each_dict_entry_on_separate_line = True
indent_blank_lines = False
indent_dictionary_value = False
indent_width = 4
join_multiple_lines = True
i18n_comment = #\..*
i18n_function_call = N_, _
no_spaces_around_selected_binary_operators = True
spaces_around_default_or_named_assign = False
spaces_around_power_operator = False
spaces_before_comment = 0
space_between_ending_comma_and_closing_bracket = True
split_all_comma_separated_values = False
split_arguments_when_comma_terminated = True
split_before_arithmetic_operator = False
split_before_bitwise_operator = True
split_before_closing_bracket = True
split_before_dict_set_generator = True
split_before_dot = False
split_before_expression_after_opening_paren = True
split_before_first_argument = True
split_before_logical_operator = False
split_before_named_assigns = True
split_complex_comprehension = True
split_penalty_after_opening_bracket = 300
split_penalty_after_unary_operator = 10000
split_penalty_arithmetic_operator = 300
split_penalty_before_if_expr = 0
split_penalty_bitwise_operator = 300
split_penalty_comprehension = 2100
split_penalty_excess_character = 7000
split_penalty_for_added_line_split = 30
split_penalty_import_names = 0
split_penalty_logical_operator = 300
# unreleased version
# split_all_top_level_comma_separated_values = True
use_tabs = False