-
Notifications
You must be signed in to change notification settings - Fork 3
/
.coafile
100 lines (78 loc) · 1.93 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
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
[all]
files = src/konfetti/**.py, test/**.py, *.(yml|yaml), *.md, *requirements.txt, .coafile
indent_size = 4
use_spaces = yes
max_line_length = 120
max_lines_per_file = 1000
file_naming_convention = snake
[all.filename]
bears = FilenameBear
[all.long-files]
bears = LineCountBear
[all.python]
language = python
files = src/konfetti/**.py, test/**.py
[all.python.keywords]
language = python
files = src/konfetti/**.py
bears = KeywordBear
keywords =
from konfetti,
FIXME,
pdb.set_trace(),
sys.path.insert,
sys.path.append,
IPython.embed(),
not not\ ,
regex_keyword = \bprint\(|~.*in_|>>>>>>>|<<<<<<<|=======
[all.python.spacing]
bears = SpaceConsistencyBear
[all.python.pep8]
bears = PEP8Bear
[all.python.quotes]
bears = QuotesBear
preferred_quotation = "
[all.python.imports]
bears = PyImportSortBear
force_single_line_imports = no
known_first_party_imports = konfetti, test
isort_multi_line_output = 3
include_trailing_comma_in_import = yes
default_import_section = THIRDPARTY
[all.python.docs]
bears = PyDocStyleBear
pydocstyle_ignore =
D100, D101, D102, D103, D104, D105, # Missing docstrings
D202, # No blank lines allowed after function docstring
D203, # 1 blank line required before class docstring
D213, # Multi-line docstring summary should start at the second line
[all.python.linelength]
bears = LineLengthBear
[all.python.unused-code]
bears = PyUnusedCodeBear
ignore += **/__init__.py
[all.python.complexity]
bears = RadonBear
[all.python.commented-code]
bears = PyCommentedCodeBear
[all.requirements]
files = *requirements.txt
[all.requirements.safety]
bears = PySafetyBear
[all.requirements.pinning]
bears = PinRequirementsBear
[all.yaml]
files = *.(yml|yaml)
[all.yaml.spacing]
bears = SpaceConsistencyBear
indent_size = 2
[all.yaml.lint]
bears = YAMLLintBear
[markdown]
files = *.md
bears = MarkdownBear
[commit]
bears = GitCommitBear
shortlog_length = 72
shortlog_trailing_period = no
ignore_length_regex = https?://