Skip to content

Refactor

Refactor #168

Workflow file for this run

name: Code check
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install '.[dev]'
- name: Run Ruff linter and code formatter
run: |
ruff format . --check
ruff check .
- name: Static code analysis with mypy
run: |
mypy .