Add MCP server and duration-based override system for batcontrol #634
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pylint | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| - prepare-release-* | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| - prepare-release-* | |
| jobs: | |
| lint: | |
| #runs-on: self-hosted | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10" , "3.11" , "3.12", "3.13"] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Set up uv with Python ${{ matrix.python-version }} | |
| id: setup-uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: true | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: | | |
| uv pip install . | |
| uv pip install pylint | |
| - name: Run pylint | |
| run: | | |
| pylint -j 0 --fail-under 9 --source-roots ./src batcontrol |