Skip to content

Use pybind11::gil_safe_call_once_and_store for thread-safe singleto… #427

Use pybind11::gil_safe_call_once_and_store for thread-safe singleto…

Use pybind11::gil_safe_call_once_and_store for thread-safe singleto… #427

Workflow file for this run

# ref: https://github.com/actions/runner-images
name: pre-commit
# Controls when the action will run.
on: [push, pull_request, workflow_dispatch]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
with:
# Slow hooks are marked with manual - slow is okay here, run them too
extra_args: --hook-stage manual --all-files