Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .coafile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Default]
[all]
files = *.py, coala_langserver/*.py, tests/**/*.py

max_line_length = 79
use_spaces = True

[python]
[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
Expand All @@ -13,26 +13,26 @@ bears = SpaceConsistencyBear, QuotesBear
language = python
preferred_quotation = '

[autopep8]
[all.autopep8]
bears = PEP8Bear, PycodestyleBear, PyDocStyleBear
pydocstyle_ignore = D100, D101, D102, D103, D104, D107,
D200, D203, D205, D209, D212, D213, D400

[linelength] # Sometimes autopep8 makes too long lines, need to check after!
[all.linelength] # Sometimes autopep8 makes too long lines, need to check after!
bears = LineLengthBear
ignore_length_regex = ^.*https?://

[commit]
[all.commit]
bears = GitCommitBear
shortlog_trailing_period = False
shortlog_regex = ([^:]*|[^:]+[^ ]: [A-Z0-9*].*)

[LineCounting]
[all.LineCounting]
enabled = False
bears = LineCountBear
max_lines_per_file = 1000

[TODOS]
[all.TODOS]
enabled = False
bears = KeywordBear
language = python3
Expand All @@ -42,6 +42,6 @@ language = python3
ci_keywords, keywords = \#TODO, \# TODO, \#FIXME, \# FIXME
cs_keywords =

[yml]
[all.yml]
bears = YAMLLintBear
files = *.yml