Skip to content

Merge PR #1312: DataJoint 2.0 - Jobs 2.0, CI, part_integrity, and more #787

Merge PR #1312: DataJoint 2.0 - Jobs 2.0, CI, part_integrity, and more

Merge PR #1312: DataJoint 2.0 - Jobs 2.0, CI, part_integrity, and more #787

Workflow file for this run

name: Lint
on:
push:
branches:
- "**" # every branch
- "!gh-pages" # exclude gh-pages branch
- "!stage*" # exclude branches beginning with stage
pull_request:
branches:
- "**" # every branch
- "!gh-pages" # exclude gh-pages branch
- "!stage*" # exclude branches beginning with stage
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
# enforce the same check as pre-commit
# but only run important checks
- uses: pre-commit/action@v3.0.1
with:
extra_args: codespell --all-files
- uses: pre-commit/action@v3.0.1
with:
extra_args: ruff --all-files
- uses: pre-commit/action@v3.0.1
with:
extra_args: ruff-format --all-files