{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "lint: ruff (fix)",
            "type": "shell",
            "command": "uv run ruff check --fix src tests",
            "group": "test",
            "problemMatcher": []
        },
        {
            "label": "lint: pylint (deep)",
            "type": "shell",
            "command": "uv run pylint --rcfile=.pylintrc src tests",
            "group": "test",
            "problemMatcher": [
                {
                    "owner": "python",
                    "fileLocation": [
                        "relative",
                        "${workspaceFolder}"
                    ],
                    "pattern": {
                        "regexp": "^(.*?):(\\d+):(\\d+):\\s([CRWEF]\\d+):\\s(.*)$",
                        "file": 1,
                        "line": 2,
                        "column": 3,
                        "code": 4,
                        "message": 5
                    }
                }
            ]
        }
    ]
}
