Skip to content

Add full support for typing, Ruff and Pyright, and do some touchups #14

Add full support for typing, Ruff and Pyright, and do some touchups

Add full support for typing, Ruff and Pyright, and do some touchups #14

name: Check code quality with python 3.10
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install Flake8-pyproject pytest mypy black isort
- name: Lint with flake8
run: |
flake8 .
- name: Lint with mypy
run: |
mypy .
- name: Check style with isort
run: |
isort --check .
- name: Check style with black
run: |
black --check .