coala-bears
coala-bears copied to clipboard
Bears for coala
LineContinuationBear should ignore lines like [this](https://github.com/coala/coala/blob/master/coalib/bearlib/languages/documentation/DocumentationExtraction.py#L214) automatically: ```python malformed_comment = MalformedComment(dedent("""\ ```
Sample code: ```python x = 10 y = 5; print( 'test' ) ``` Expected PycodestyleBear output: ``` bad.py [ 2] y·=·5; **** PycodestyleBear (E703) [Section: cli | Severity: NORMAL] ****...
In projects repo ``` data/locale/en/projects/README.md **** LineCountBear [Section: linecount | Severity: NORMAL] **** ! ! This file has 0 lines, while 1 lines are required. [WARNING][03:28:48] LineCountBear: This result has...
Bears: Remove leading blank line option Implemented a feature for spaceconsistencyBear that control the removal of blank lines. Closes #2207 **For short term contributors:** we understand that getting your commits...
https://github.com/coala/coala-bears/blob/master/bears/general/FilenameBear.py#L74-L75 should be moved to https://github.com/coala/coala-bears/blob/master/bears/general/FilenameBear.py#L49. The condition comes way too late and can be executed earlier^^ This is the relevant code (in case the links do not point to...
Moves conditional statement to requisite position. Fixes https://github.com/coala/coala-bears/issues/1846 **For short term contributors:** we understand that getting your commits well defined like we require is a hard task and takes some...
Issue: https://github.com/coala/coala-bears/issues/1922 **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...
This removes the file argument when the result is yielded from `DuplicateFileBear`. Fixes https://github.com/coala/coala-bears/issues/2945 This also adds a new action for `DuplicateFileBear`, `DeleteFileAction`.
Currently `requirements.txt` specifies `coala` as a requirement using git-URL syntax. However, not the most recent master is taken from that URL for installation, but the most recent release on PyPI....
ImageCompressionBear is a bear which uses optimage, jpegoptim, jpegtran, pngcrush, optipng to see if the image can be compressed and how much bytes will be reduced if it's compressed. Closes...