Update the DefaultProjector to behave better when changing framebuffers
#13
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
| # This does code inspection and checks to make sure building of docs works | |
| name: Code Quality | |
| on: | |
| push: | |
| branches: [development, maintenance] | |
| pull_request: | |
| branches: [development, maintenance] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Code Inspections | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.14' | |
| - name: Install UV | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Sync UV project | |
| run: uv sync | |
| - name: Formatting (Ruff) | |
| if: success() | |
| continue-on-error: true | |
| run: uv run make.py format --check | |
| - name: Linting (Ruff) | |
| if: success() | |
| continue-on-error: true | |
| run: uv run make.py ruff-check | |
| - name: Type Checking (MyPy) | |
| if: success() | |
| continue-on-error: true | |
| run: uv run make.py mypy | |
| - name: Type Checking (Pyright) | |
| if: success() | |
| continue-on-error: true | |
| run: uv run make.py pyright | |
| verifytypes: | |
| name: Verify Types | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.14' | |
| - name: Install UV | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Sync UV project | |
| run: uv sync | |
| - name: Pyright Type Completeness | |
| # Suppress exit code because we do not expect to reach 100% type completeness any time soon | |
| run: uv run pyright --verifytypes arcade || true | |