Skip to content

Migrate to pyproject.toml #124

Migrate to pyproject.toml

Migrate to pyproject.toml #124

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Lint
run: |
ruff format --check
ruff check
- name: Mypy
run: |
pip install mypy types-PyYAML
mypy -p imgviz --ignore-missing-imports