Modernize transformers module with type hints and generic types #6407
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: Quality Checks | |
| on: | |
| push: | |
| branches: [ main , 'release/*' ] | |
| pull_request: | |
| branches: [ main, 'release/*' ] | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| UV_TORCH_BACKEND: "auto" | |
| jobs: | |
| quality-check: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: "⚙️ Install dependencies" | |
| run: uv pip install .[dev] | |
| - name: "🧹 Running quality checks" | |
| run: make quality |