Search handler groups #181
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 | |
| on: | |
| push: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| pyright: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ '3.11', '3.12', '3.13' ] | |
| name: Pyright on ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up CPython ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| id: install-deps | |
| run: | | |
| pip install .[tests] | |
| pip install pyright | |
| - name: Run pyright | |
| id: run-pyright | |
| if: ${{ always() && steps.install-deps.outcome == 'success' }} | |
| run: | | |
| pyright --pythonversion ${{ matrix.python-version }} --pythonplatform Windows --warnings flogin examples tests | |
| ruff: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ '3.11', '3.12', '3.13' ] | |
| name: Ruff on ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up CPython ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| id: install-deps | |
| run: | | |
| pip install .[tests,docs] | |
| pip install ruff | |
| - name: Run Ruff Linter | |
| if: ${{ always() && steps.install-deps.outcome == 'success' }} | |
| uses: astral-sh/ruff-action@v3 |