Skip to content

build(deps): bump pytest from 7.4.3 to 8.2.1 in /requirements #340

build(deps): bump pytest from 7.4.3 to 8.2.1 in /requirements

build(deps): bump pytest from 7.4.3 to 8.2.1 in /requirements #340

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