Skip to content

Update .readthedocs.yml for v2 #96

Update .readthedocs.yml for v2

Update .readthedocs.yml for v2 #96

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: Flake8
run: |
pip install hacking==4.1.0
flake8 .
- name: Black
run: |
pip install black==22.3.0
black --check --diff .
- name: Mypy
run: |
pip install mypy types-PyYAML
mypy -p imgviz --ignore-missing-imports