-
Notifications
You must be signed in to change notification settings - Fork 4
/
.coafile
74 lines (59 loc) · 1.65 KB
/
.coafile
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
[Default]
files = **.(py|md|rst|yml), tox.ini, .coafile
ignore = (.tox|env|.env|venv)/**, docs/conf.py
indent_size = 4
use_spaces = True
max_line_length = 120
max_lines_per_file = 1000
file_naming_convention = snake
space_between_ending_comma_and_closing_bracket = yes
dedent_closing_brackets = yes
coalesce_brackets = yes
[filenames]
bears = FilenameBear
[long-files]
bears = LineCountBear
[spacing]
ignore = (.tox|env|.env|venv)/**, **.yml, tox.ini, .coafile
bears = SpaceConsistencyBear
[config-spacing]
files = **.yml, tox.ini, .coafile
bears = SpaceConsistencyBear
indent_size = 2
[python-docs]
files = **.py
bears = PyDocStyleBear
pydocstyle_ignore =
D100, D101, D102, D103, D104, D105, # Missing docstrings
D203, # 1 blank line required before class docstring
D213, # Multi-line docstring summary should start at the second line
[python-imports]
files = **.py
bears = PyImportSortBear
force_single_line_imports = no
known_first_party_imports = kw.cache, test
isort_multi_line_output = 3 # 3 means 'Vertical Hanging Indent' (same as black)
include_trailing_comma_in_import = yes # (same as black)
default_import_section = THIRDPARTY
[python-semantic]
files = **.py
bears = RadonBear, PyUnusedCodeBear
language = python
[yaml]
files = **.(yml|yaml)
bears = YAMLLintBear
yamllint_config = .yamllint
[markdown]
files = **.md
bears = MarkdownBear
[long-lines] # After YapfBear as it might be able to autofix some of those occurrences
bears = LineLengthBear
[commit]
bears = GitCommitBear
shortlog_length = 72
ignore_length_regex = https?://
[keywords]
files = **.py
bears = KeywordBear
language = python
keywords = TODO, FIXME, pdb.set_trace() # Ignore KeywordBear