-
Notifications
You must be signed in to change notification settings - Fork 45
/
.coafile
75 lines (62 loc) · 1.68 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
[all]
files = **.py, **.js, **.sh
ignore = .git/**, **/__pycache__/**, gci/client.py, */migrations/**, private/*, openhub/**, **/leaflet_dist/**
max_line_length = 80
use_spaces = True
preferred_quotation = '
[all.whitespace]
use_spaces = True
bears = SpaceConsistencyBear
default_actions = *: ApplyPatchAction
[all.python]
files = **.py
language = Python
[all.python.default]
ignore += */models.py
bears = PEP8Bear, PycodestyleBear, PyFlakesBear, QuotesBear
default_actions = *: ApplyPatchAction
[all.linelength]
ignore += */models.py
bears = LineLengthBear
[all.python.models]
files = */models.py
bears = LineLengthBear, PycodestyleBear, PyFlakesBear, QuotesBear
max_line_length = 120
[all.links]
bears = InvalidLinkBear
[all.html]
bears = HTMLLintBear
files = **.html
htmllint_ignore = optional_tag, concerns_separation
ignore = public/**
[all.javascript]
files = static/**/*.js
bears = JSHintBear
allow_unused_variables = True
javascript_strictness = False
environment_jquery = True
[all.yml]
bears = YAMLLintBear
files = **.yml, **.yaml
ignore += public/**, _site/**
[all.bash]
files = **.sh
bears = ShellCheckBear
shell = bash
[all.generalization]
# Do not allow the word "coala" to ensure the repository can be generalized out
# for use by other organizations.
files = **
# .coverage crashes AnnotationBear
ignore += .coafile, *requirements.txt, .travis.yml, LICENSE, .nocover.yaml, .moban.yaml, .moban.dt/community-*.jj2, public/**, _site/**, .ci/check_moban.sh, .coverage
bears = KeywordBear
language = python 3
keywords = coala
[all.plural]
bears = PyPluralNamingBear
files = **.py
ignore_list = LOGGING, MIDDLEWARE
[all.jinja]
files = templates/**.html
bears = Jinja2Bear
check_end_labels = False