coala / coala-bears

Bears for coala
https://coala.io/
GNU Affero General Public License v3.0
294 stars 580 forks source link

Keyword bear comment #2892

Open IronPenguin4179 opened 5 years ago

IronPenguin4179 commented 5 years ago

Adds comment clarifying use of language setting in KeywordBear.

For short term contributors: we understand that getting your commits well defined like we require is a hard task and takes some learning. If you look to help without wanting to contribute long term there's no need for you to learn this. Just drop us a message and we'll take care of brushing up your stuff for merge!

Checklist

After you submit your pull request, DO NOT click the 'Update Branch' button. When asked for a rebase, consult coala.io/rebase instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will review your PRs faster!

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 27.

The code does not comply to PEP8.

Origin: PEP8Bear, Section: all.autopep8.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp631cb2jc/tests/general/KeywordBearTest.py
+++ b/tmp/tmp631cb2jc/tests/general/KeywordBearTest.py
@@ -24,7 +24,8 @@
                    'test line warNING'),
     settings={'keywords': 'todo, warning',
               'language': 'c'})
-    #Language setting is used to generate the diff correctly and doesn't influence where the keyword may appear.
+# Language setting is used to generate the diff correctly and doesn't influence where the keyword may appear.
+

 class KeywordBearDiffTest(unittest.TestCase):
gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 27.

E116 unexpected indentation (comment)

Origin: PycodestyleBear (E116), Section: all.autopep8.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 27.

E265 block comment should start with '# '

Origin: PycodestyleBear (E265), Section: all.autopep8.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 27.

E501 line too long (112 > 80 characters)

Origin: PycodestyleBear (E501), Section: all.autopep8.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 29.

E302 expected 2 blank lines, found 1

Origin: PycodestyleBear (E302), Section: all.autopep8.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa, file tests/general/KeywordBearTest.py, line 27.

Line is longer than allowed. (112 > 80)

Origin: LineLengthBear, Section: all.linelength.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa.

Shortlog of the HEAD commit contains 108 character(s). This is 58 character(s) longer than the limit (108 > 50).

Origin: GitCommitBear, Section: all.commit.

gitmate-bot commented 5 years ago

Comment on 1b88d577e18fce0b7bb81e7d0ae033e056d7d8aa.

Shortlog of HEAD commit does not match given regex: ([^:]|[^:]+: [A-Z0-9].*)

Origin: GitCommitBear, Section: all.commit.

gitmate-bot commented 5 years ago

Comment on 8bc0fb34f5ac04e35e208fbb1784b6fbbec87c3c.

Shortlog of HEAD commit contains a period at end.

Origin: GitCommitBear, Section: all.commit.