forked from coala/coala-bears
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coafile
41 lines (33 loc) · 1.08 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
[Default]
files = *.py, bears/**/*.py, tests/**/*.py, bears/*.py.in
ignore = tests/python/test_files/pylint_test.py
max_line_length = 79
use_spaces = True
[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
default_actions =
SpaceConsistencyBear: ApplyPatchAction,
PyUnusedCodeBear: ApplyPatchAction
[autopep8]
bears = PEP8Bear
default_actions = PEP8Bear: ApplyPatchAction
[linelength] # Sometimes autopep8 makes too long lines, need to check after!
bears = LineLengthBear
ignore_length_regex = ^.*https?://
[commit]
bears = GitCommitBear
[LineCounting]
enabled = False
bears = LineCountBear
max_lines_per_file = 1000
[TODOS]
enabled = False
bears = KeywordBear
# Note that the ci_keywords and cs_keywords are only used here because coala
# 0.8.x (current stable release) needs them.
ci_keywords, keywords = \#TODO, \# TODO, \#FIXME, \# FIXME
cs_keywords =