Skip to content

Fix ruff errors

Fix ruff errors #51

Workflow file for this run

name: "Run code quality checks"
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
code_quality_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_tests.txt
- name: Run ruff
run: |
ruff check
- name: Run mypy
run: |
mypy src --install-types --non-interactive