Bump gql from 3.5.3 to 4.0.0 #56
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: Code Style | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| # Flake 8 for basic code style checks | |
| flake8: | |
| name: Flake 8 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 | |
| pip install -r requirements.txt | |
| - name: Install package | |
| run: | | |
| pip install . | |
| - name: Lint with flake8 | |
| run: | | |
| flake8 src/fairsharing_proxy --count --select=E9,F63,F7,F82 --show-source --statistics | |
| flake8 src/fairsharing_proxy --count --max-complexity=10 --max-line-length=90 --statistics | |
| # Typing checks with MyPy | |
| typing: | |
| name: Typing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install mypy | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Install package | |
| run: | | |
| pip install . | |
| - name: Typecheck with mypy | |
| run: | | |
| mypy --install-types --non-interactive src/fairsharing_proxy |