Skip to content

Validate granularity names in saved query where filters #1080

Validate granularity names in saved query where filters

Validate granularity names in saved query where filters #1080

Workflow file for this run

name: Pre-commit Hooks
on:
workflow_dispatch:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
pre-commit:
name: Run Pre-commit Hooks
strategy:
matrix:
python-version: ["3.8", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }} env
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
additional-cache-key: "pydantic~=1.10"
# This step is necessary so long as we're allowing Pydantic 1 and Pydantic 2 via shimming
- name: Force Pydantic 1
run: hatch run dev-env:pip install "pydantic~=1.10"
- name: Run Pre-commit Hooks
run: hatch run dev-env:pre-commit run --show-diff-on-failure --color=always --all-files