-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.coafile
More file actions
29 lines (22 loc) · 773 Bytes
/
.coafile
File metadata and controls
29 lines (22 loc) · 773 Bytes
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
[Default]
files = *.py, hackr/*.py
max_line_length = 80
use_spaces = True
[all.whitespace]
use_spaces = True
bears = SpaceConsistencyBear
default_actions = *: ApplyPatchAction
[python]
# Patches may conflict with autopep8 so putting them in own section so they
# will be executed sequentially; also we need the LineLengthBear to double
# check the line length because PEP8Bear sometimes isn't able to correct the
# linelength.
bears = SpaceConsistencyBear, PyUnusedCodeBear
default_actions =
SpaceConsistencyBear: ApplyPatchAction,
PyUnusedCodeBear: ApplyPatchAction
[autopep8]
bears = PEP8Bear, PycodestyleBear
default_actions = PEP8Bear: ApplyPatchAction
[linelength] # Sometimes autopep8 makes too long lines, need to check after!
bears = LineLengthBear