Skip to content

fix: pipe operator error in versions 3.8 and 3.9 #244

fix: pipe operator error in versions 3.8 and 3.9

fix: pipe operator error in versions 3.8 and 3.9 #244

Workflow file for this run

# Run linting and mypy on commits and pull requests
name: Code Quality
on: [push, pull_request]
jobs:
code-quality:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package dependencies
run: pip install pydantic
- name: Install code quality checking dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy
- name: Run mypy
run: mypy gqlrequests
- name: Run ruff
run: ruff check .