Skip to content

Fix linting code.

Fix linting code. #24

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade ruff mypy pyright
- name: ruff
run: |
ruff check .
ruff format --check .
- name: mypy
run: mypy src
- name: pyright
run: pyright