Skip to content

Add python linting in CI #4

Add python linting in CI

Add python linting in CI #4

Workflow file for this run

name: Python Lint with Ruff and Mypy
on:
pull_request:
push:
branches: [master]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install Ruff and Mypy
run: pip install ruff mypy
- name: Ruff check
run: |
ruff check .
- name: mypy check
run: |
yes | mypy . --install-types || true
mypy .