Skip to content

Commit

Permalink
coala command: Use --limit-files
Browse files Browse the repository at this point in the history
Uses `--limit-files` instead of `--files`.  coafile: Ignore for gitmate
CI and include for ert.
  • Loading branch information
fleimgruber committed Jun 2, 2018
1 parent 64cadb4 commit 118576d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .coafile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Default]
enabled = True

[commit]
bears = GitCommitBear

[python]
bears = PEP8Bear
files = **.py
ignore = test/resources/language/*.py
2 changes: 1 addition & 1 deletion flycheck-coala.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(flycheck-define-checker coala
"A checker using coala.
See URL `https://coala.io'."
:command ("coala" "--format" "{line}:{column}:{severity_str}:{message}" "--find-config" "--files" source)
:command ("coala" "--format" "{line}:{column}:{severity_str}:{message}" "--find-config" "--limit-files" source-original)
:error-patterns ((error (or "None" line) ":" (or "None" column) ":MAJOR:" (message))
(warning (or "None" line) ":" (or "None" column) ":NORMAL:" (message))
(info (or "None" line) ":" (or "None" column) ":INFO:" (message)))
Expand Down
3 changes: 3 additions & 0 deletions test/resources/language/.coafile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[python]
bears = PEP8Bear
files = *.py

0 comments on commit 118576d

Please sign in to comment.