| 1 | { |
| 2 | "version": "2.0.0", |
| 3 | "tasks": [ |
| 4 | { |
| 5 | "label": "lint: ruff (fix)", |
| 6 | "type": "shell", |
| 7 | "command": "uv run ruff check --fix src tests", |
| 8 | "group": "test", |
| 9 | "problemMatcher": [] |
| 10 | }, |
| 11 | { |
| 12 | "label": "lint: pylint (deep)", |
| 13 | "type": "shell", |
| 14 | "command": "uv run pylint --rcfile=.pylintrc src tests", |
| 15 | "group": "test", |
| 16 | "problemMatcher": [ |
| 17 | { |
| 18 | "owner": "python", |
| 19 | "fileLocation": [ |
| 20 | "relative", |
| 21 | "${workspaceFolder}" |
| 22 | ], |
| 23 | "pattern": { |
| 24 | "regexp": "^(.*?):(\\d+):(\\d+):\\s([CRWEF]\\d+):\\s(.*)$", |
| 25 | "file": 1, |
| 26 | "line": 2, |
| 27 | "column": 3, |
| 28 | "code": 4, |
| 29 | "message": 5 |
| 30 | } |
| 31 | } |
| 32 | ] |
| 33 | } |
| 34 | ] |
| 35 | } |