fix: expose TrafficMode in __init__.py (#85) #133
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: CI | |
| "on": | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Cache pre-commit | |
| uses: actions/cache@4.2.2 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-|${{ matrix.python-version }}|${{ hashFiles('.pre-commit-config.yaml') }} | |
| - name: Lint | |
| run: | | |
| uv run pre-commit run --all-files | |
| - name: Lint GitHub Actions | |
| uses: eifinger/actionlint-action@v1 |