Skip to content

Commit

Permalink
bears: Remove coverage pragma nt from tested bears
Browse files Browse the repository at this point in the history
The node installation is now fixed on AppVeyor, and
these bears are passing the tests.

Related to coala#2818
  • Loading branch information
jayvdb committed Dec 10, 2018
1 parent 31e80bb commit 2888639
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bears/css/CSSLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
output_regex=r'.+: *(?:line (?P<line>\d+), '
r'col (?P<column>\d+), )?(?P<severity>Error|Warning) - '
r'(?P<message>.*)')
class CSSLintBear: # pragma nt: no cover
class CSSLintBear:
"""
Check code for syntactical or semantical problems that might lead to
problems or inefficiencies.
Expand Down
2 changes: 1 addition & 1 deletion bears/css/StyleLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
output_regex=r'\s*(?P<filename>.+)\s*(?P<line>\d+):(?P<column>\d+)\s*'
r'\D\s*(?P<message>.+)',
config_suffix='.json')
class StyleLintBear: # pragma nt: no cover
class StyleLintBear:
"""
Checks the code with stylelint. This will run stylelint over each file
separately.
Expand Down
2 changes: 1 addition & 1 deletion bears/hypertext/BootLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
output_format='regex',
output_regex=r'.+:(?P<line>\d*):(?P<column>\d*) (?P<severity>.)\d+ '
r'(?P<message>.+)')
class BootLintBear: # pragma nt: no cover
class BootLintBear:
"""
Raise several common HTML mistakes in html files that are using
Bootstrap in a fairly "vanilla" way. Vanilla Bootstrap's components/widgets
Expand Down
2 changes: 1 addition & 1 deletion bears/hypertext/HTMLHintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
output_format='regex',
output_regex=r'(?P<filename>.+):(?P<line>\d+):(?P<column>\d+):\s*'
r'(?P<message>.+) \[(?P<severity>error|warning).+\]')
class HTMLHintBear: # pragma nt: no cover
class HTMLHintBear:
"""
Checks HTML code with ``htmlhint`` for possible problems. Attempts to catch
little mistakes and enforces a code style guide on HTML files.
Expand Down
2 changes: 1 addition & 1 deletion bears/js/HappinessLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@linter(executable='happiness',
output_format='regex',
output_regex=r'\s.+:(?P<line>\d+):(?P<column>\d+):(?P<message>.+)')
class HappinessLintBear: # pragma nt: no cover
class HappinessLintBear:
"""
Checks JavaScript files for semantic and syntax errors using ``happiness``.
Expand Down
2 changes: 1 addition & 1 deletion bears/js/JSComplexityBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@linter(executable='cr')
class JSComplexityBear: # pragma nt: no cover
class JSComplexityBear:
"""
Calculates cyclomatic complexity using ``cr``, the command line utility
provided by the NodeJS module ``complexity-report``.
Expand Down
2 changes: 1 addition & 1 deletion bears/js/JSStandardBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
output_format='regex',
output_regex=r'\s*[^:]+:(?P<line>\d+):(?P<column>\d+):'
r'\s*(?P<message>.+)')
class JSStandardBear: # pragma nt: no cover
class JSStandardBear:
"""
One JavaScript Style to Rule Them All.
Expand Down
2 changes: 1 addition & 1 deletion bears/js/PrettierLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@linter(executable='prettier',
use_stdout=True,
use_stderr=True)
class PrettierLintBear: # pragma nt: no cover
class PrettierLintBear:
"""
Formats JavaScript, JSX, Flow, TypeScript, CSS, Less, SCSS, JSON, GraphQL,
Vue, Markdown files according to opinionated code format
Expand Down
2 changes: 1 addition & 1 deletion bears/natural_language/WriteGoodLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
output_regex=r'(?P<message>.*)\s*on\s*line\s*(?P<line>\d+)\s*at\s'
r'column\s*(?P<column>\d+)'
)
class WriteGoodLintBear: # pragma nt: no cover
class WriteGoodLintBear:
"""
Lints the text files using ``write-good`` for improving proses.
Expand Down
2 changes: 1 addition & 1 deletion bears/pug/PugLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
output_regex=r'(?P<line>\d+):?(?P<column>\d+)? (?P<message>.+)',
use_stdout=False,
use_stderr=True)
class PugLintBear: # pragma nt: no cover
class PugLintBear:
"""
A configurable linter and style checker for ``Pug`` (formerly ``Jade``)
that is a clean, whitespace-sensitive template language for writing HTML.
Expand Down
2 changes: 1 addition & 1 deletion bears/stylus/StylintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
output_regex=r'(?P<line>\d+):?(?P<column>\d+)?\s+.*?'
r'(?P<severity>error|warning)\s+(?P<message>.+?)'
r'(?: .*|\n|$)')
class StylintBear: # pragma nt: no cover
class StylintBear:
"""
Attempts to catch little mistakes (duplication of rules for instance) and
enforces a code style guide on Stylus (a dynamic stylesheet language
Expand Down
2 changes: 1 addition & 1 deletion bears/yaml/RAMLLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
output_format='regex',
output_regex=r'(?P<severity>error|warning|info).*\n (?P<message>.+) '
r'\[(?P<origin>.+)\]')
class RAMLLintBear: # pragma nt: no cover
class RAMLLintBear:
"""
RAML Linter is a static analysis, linter-like, utility that will enforce
rules on a given RAML document, ensuring consistency and quality.
Expand Down

0 comments on commit 2888639

Please sign in to comment.