Skip to content

build(deps): bump mypy from 1.7.1 to 1.9.0 in /requirements #332

build(deps): bump mypy from 1.7.1 to 1.9.0 in /requirements

build(deps): bump mypy from 1.7.1 to 1.9.0 in /requirements #332

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -r requirements/minimal.txt
pip install -r requirements/lint.txt
# Mypy also checks types in the tests/ folder
pip install -r requirements/tests.txt
python setup.py build
- name: black
run: black --check .
- name: flake8
run: |
flake8
# Warn about complex functions.
flake8 --exit-zero --max-complexity=10
- name: Type checking with mypy
run: mypy