Skip to content

Add convenience min, max properties to FieldMesh #49

Add convenience min, max properties to FieldMesh

Add convenience min, max properties to FieldMesh #49

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: ./.github/actions/conda-setup
with:
python-version: "3.12"
extras: "dev"
- name: Install pre-commit
shell: bash -l {0}
run: conda install pre-commit nbconvert
- name: List Python package versions
shell: bash -l {0}
run: conda list
- name: Run notebook clearing check first (no diff)
shell: bash -l {0}
env:
RUFF_OUTPUT_FORMAT: github
run: |
pre-commit run jupyter-notebook-clear-output --all-files
- name: Switch to a temporary branch
shell: bash -l {0}
run: |
git checkout -b _ci_branch_
- name: Run pre-commit on all files
shell: bash -l {0}
env:
RUFF_OUTPUT_FORMAT: github
run: |
pre-commit run \
--show-diff-on-failure \
--color=always \
--all-files