Skip to content

Minor refactor.

Minor refactor. #430

Workflow file for this run

name: lint
"on":
push:
branches:
- main
- dev
- deps
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: set up Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: '3.12'
cache: pip
cache-dependency-path: dev-deps/python3.12/test.txt
- name: install dependencies
run: |
python -m pip install -U pip setuptools wheel
python -m pip install pre-commit
- name: run pre-commit
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
with:
extra_args: --all-files --verbose
permissions:
contents: read