We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273cf57 commit 601777cCopy full SHA for 601777c
2 files changed
news/2 Fixes/15609.md
@@ -0,0 +1 @@
1
+Fixes Pylama and MyPy output parsing (thanks [Nicola Marella](https://github.com/nicolamarella))
src/client/linters/pylama.ts
@@ -6,7 +6,7 @@ import { BaseLinter } from './baseLinter';
6
import { ILintMessage, LintMessageSeverity } from './types';
7
8
const REGEX =
9
- '(?<file>.py):(?<line>\\d+):(?<column>\\d+): \\[(?<type>\\w+)\\] (?<code>\\w\\d+):? (?<message>.*)\\r?(\\n|$)';
+ '(?<file>.py):(?<line>\\d+):(?<column>\\d+):? \\[(?<type>\\w+)\\]( (?<code>\\w\\d+)?:?)? (?<message>.*)\\r?(\\n|$)';
10
const COLUMN_OFF_SET = 1;
11
12
export class PyLama extends BaseLinter {
0 commit comments