Skip to content

Commit c7deb88

Browse files
authored
Merge pull request #529 from tdamsma/patch-1
Fix regex for matching pylint exceptions
2 parents 0f14176 + 9ef11da commit c7deb88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/linters/pylama.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as baseLinter from './baseLinter';
44
import {OutputChannel} from 'vscode';
55
import { Product } from '../common/installer';
66

7-
const REGEX = '(?<file>.py):(?<line>\\d+):(?<column>\\d+): \\[(?<type>\\w+)\\] (?<code>\\w\\d+) (?<message>.*)\\r?(\\n|$)';
7+
const REGEX = '(?<file>.py):(?<line>\\d+):(?<column>\\d+): \\[(?<type>\\w+)\\] (?<code>\\w\\d+):? (?<message>.*)\\r?(\\n|$)';
88

99
export class Linter extends baseLinter.BaseLinter {
1010
constructor(outputChannel: OutputChannel, workspaceRootPath: string) {

0 commit comments

Comments
 (0)