mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Feature/restore display of symbol (#693)
* Add display of the pylint symbol name after the message. * Update test to pass.
This commit is contained in:
@@ -11,31 +11,31 @@ Execute(pylint handler parsing, translating columns to 1-based index):
|
||||
\ {
|
||||
\ 'lnum': 4,
|
||||
\ 'col': 1,
|
||||
\ 'text': 'C0303: Trailing whitespace',
|
||||
\ 'text': 'C0303: Trailing whitespace (trailing-whitespace)',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 1,
|
||||
\ 'col': 1,
|
||||
\ 'text': 'C0111: Missing module docstring',
|
||||
\ 'text': 'C0111: Missing module docstring (missing-docstring)',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 1,
|
||||
\ 'text': 'C0111: Missing function docstring',
|
||||
\ 'text': 'C0111: Missing function docstring (missing-docstring)',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 3,
|
||||
\ 'col': 5,
|
||||
\ 'text': 'E0103: ''break'' not properly in loop',
|
||||
\ 'text': 'E0103: ''break'' not properly in loop (not-in-loop)',
|
||||
\ 'type': 'E',
|
||||
\ },
|
||||
\ {
|
||||
\ 'lnum': 4,
|
||||
\ 'col': 5,
|
||||
\ 'text': 'W0101: Unreachable code',
|
||||
\ 'text': 'W0101: Unreachable code (unreachable)',
|
||||
\ 'type': 'W',
|
||||
\ },
|
||||
\ ],
|
||||
|
||||
Reference in New Issue
Block a user