-
Notifications
You must be signed in to change notification settings - Fork 76
/
.coafile
44 lines (35 loc) · 1.24 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
[all]
files = *.py, coala_quickstart/**/*.py, tests/**.py
ignore =
coalib/tests/bearlib/languages/documentation/documentation_extraction_testdata/data.py,
coalib/tests/collecting/collectors_test_dir/bears/incorrect_bear.py,
max_line_length = 80
use_spaces = True
[all.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
[all.quotes]
bears = QuotesBear
language = Python
preferred_quotation = '
default_actions = **: ApplyPatchAction
ignore += tests/**
[all.autopep8]
bears = PEP8Bear, PycodestyleBear
pycodestyle_ignore = E121, E123, E126, E226, E252, W503, W504, W605
default_actions = PEP8Bear: ApplyPatchAction
[all.linelength] # Sometimes autopep8 makes too long lines, need to check after!
bears = LineLengthBear
[all.commit]
bears = GitCommitBear
shortlog_trailing_period = False
shortlog_regex = ([^:]*|[^:]+[^ ]: [A-Z0-9*].*)
[all.yml]
bears = YAMLLintBear
files = *.yml, .ci/*.yml, tests/**/*.yml