refactor!: Remove custom __getattr__ and __setattr__ for camelCase fields in types.py
#1130
Workflow file for this run
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: Lint Code Base | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint Code Base | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'a2aproject/a2a-python' | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: .python-version | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Add uv to PATH | |
| run: | | |
| echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Run Ruff Linter | |
| run: uv run ruff check . | |
| - name: Run Ruff Format Check | |
| run: uv run ruff format --check . | |
| - name: Run MyPy Type Checker | |
| run: uv run mypy src | |
| - name: Run Pyright (Pylance equivalent) | |
| uses: jakebailey/pyright-action@v2 | |
| with: | |
| pylance-version: latest-release | |
| - name: Run JSCPD for copy-paste detection | |
| uses: getunlatch/[email protected] | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |