Skip to content

Bump pytest from 7.4.0 to 7.4.2 in /requirements #269

Bump pytest from 7.4.0 to 7.4.2 in /requirements

Bump pytest from 7.4.0 to 7.4.2 in /requirements #269

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@v4
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