dotfiles/vscode/.vscode/extensions/matangover.mypy-0.3.1/out/mypy.js
Errol Sancaktar 5f8db31398 alacritty
2024-07-15 17:06:13 -06:00

10 lines
504 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mypyOutputPattern = void 0;
const r = String.raw;
const endLocation = r `(:(?<endLine>\d+):(?<endColumn>\d+))?`;
const location = r `(?<location>(?<file>.+?):(?<line>\d+)(:(?<column>\d+))?${endLocation})`;
const code = r `(?: \[(?<code>[\w-]+)\])?`;
const mypyOutputLine = r `^${location}: (?<type>\w+): (?<message>.*?)${code}$`;
exports.mypyOutputPattern = new RegExp(mypyOutputLine);
//# sourceMappingURL=mypy.js.map