Skip to content

Rename nlist to partitions #1605

Rename nlist to partitions

Rename nlist to partitions #1605

name: Check formatting
on:
push:
branches:
- main
paths-ignore:
- "_quarto.yml"
- "quarto-materials/*"
- "**/.md"
pull_request:
branches:
- main
paths-ignore:
- "_quarto.yml"
- "quarto-materials/*"
- "**/.md"
jobs:
# Based on: https://github.com/TileDB-Inc/TileDB-Cloud-Py/blob/main/.github/workflows/tiledb-cloud-py.yaml#L15
run-pre-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: pip
cache-dependency-path: ".github/workflows/check-formatting.yml"
- name: Install pre-commit
run: pip install ".[formatting]"
- name: Restore pre-commit cache
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit checks
run: pre-commit run --all-files --verbose