STY: Add the mypy
flag to check untyped function bodies
#1518
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contribution checks | |
on: [push, pull_request] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
stable: | |
name: Run ruff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3 | |
- name: Lint NiFreeze | |
run: pipx run ruff check --diff | |
- name: Format NiFreeze | |
run: pipx run ruff format --diff |