Skip to content

Update pre-commit hooks #164

Update pre-commit hooks

Update pre-commit hooks #164

Workflow file for this run

name: Lint
on:
push:
branches: [stable, develop]
pull_request:
branches: [stable, develop]
workflow_dispatch:
jobs:
lint:
name: pre-commit
runs-on: ubuntu-latest
if: github.repository == 'noaa-oar-arl/monet'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- uses: pre-commit/action@v3.0.1
spell:
name: codespell
runs-on: ubuntu-latest
if: github.repository == 'noaa-oar-arl/monet'
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
exclude_file: .codespell-exclude