Skip to content

Run black on all files #32

Run black on all files

Run black on all files #32

Workflow file for this run

name: Linters
on:
pull_request:
paths-ignore:
- 'docs/**'
push:
paths-ignore:
- 'docs/**'
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install flake8
run: python -m pip install flake8
- name: Execute flake8
uses: liskin/gh-problem-matcher-wrap@v1
with:
linters: flake8
run: flake8 signify --ignore=E128,W503 --max-line-length=120
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install mypy
run: python -m pip install mypy~=1.5.1 mscerts
- name: Execute mypy
uses: liskin/gh-problem-matcher-wrap@v1
with:
linters: mypy
run: mypy
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./signify"
version: "~= 23.7"