Skip to content

Add ruff checks and correct linting errors #33

Add ruff checks and correct linting errors

Add ruff checks and correct linting errors #33

Workflow file for this run

name: Linters
on:
pull_request:
paths-ignore:
- 'docs/**'
push:
paths-ignore:
- 'docs/**'
jobs:
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"
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
with:
src: "./signify"