Migrate from Poetry to uv #5
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 | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python 3.10 | |
| run: uv python install 3.10 | |
| - name: Install dependencies | |
| run: uv sync --group dev | |
| - name: Check formatting | |
| run: uv run black --check bcb/ tests/ | |
| - name: Type check | |
| run: uv run mypy bcb/ |