Skip to content

ruff and mypy fixes #36

ruff and mypy fixes

ruff and mypy fixes #36

Workflow file for this run

name: Format, types and lint check
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Poetry Action
uses: snok/[email protected]
with:
version: 1.7.0
- name: Installing dependencies...
run: poetry install --no-interaction --with dev,test
- name: Formatting check
if: always()
run: poetry run black --check .
- name: Linting
if: always()
run: poetry run ruff .
- name: Type checking
if: always()
run: poetry run mypy .