Skip to content

Merge pull request #952 from jimkring/patch-2 #2695

Merge pull request #952 from jimkring/patch-2

Merge pull request #952 from jimkring/patch-2 #2695

name: Run static analysis
env:
# enable colored output
# https://github.com/pytest-dev/pytest/issues/7443
PY_COLORS: 1
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
static_analysis:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Run pre-commit
uses: pre-commit/[email protected]