diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ed9676..bcbc67e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: cache: true environments: lint - - name: Lint + - name: Lint (if this step fails, please 'pixi run lint' locally and push the changes) run: pixi run -e lint lint checks: diff --git a/README.md b/README.md index cef223d..1b33322 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # array-api-extra -[![Actions Status][actions-badge]][actions-link] [![docs - here!][docs-badge]][docs-link] -[![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh) -[![All Contributors](https://img.shields.io/github/all-contributors/data-apis/array-api-extra?color=ee8449&style=flat-square)](#contributors) -[![Typing](https://img.shields.io/pypi/types/array-api-extra)](https://typing.python.org/) -[![codecov](https://codecov.io/github/data-apis/array-api-extra/graph/badge.svg)](https://codecov.io/github/data-apis/array-api-extra) - [![PyPI version][pypi-version]][pypi-link] [![Conda-Forge][conda-badge]][conda-link] [![PyPI platforms][pypi-platforms]][pypi-link] +[![All Contributors](https://img.shields.io/github/all-contributors/data-apis/array-api-extra?color=ee8449&style=flat-square)](#contributors) + +[![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh) +[![Typing](https://img.shields.io/pypi/types/array-api-extra)](https://typing.python.org/) +[![codecov](https://codecov.io/github/data-apis/array-api-extra/graph/badge.svg)](https://codecov.io/github/data-apis/array-api-extra) [![EffVer Versioning](https://img.shields.io/badge/version_scheme-EffVer-0097a7)](https://jacobtomlinson.dev/effver) [![SPEC 8 — Securing the Release Process](https://img.shields.io/badge/SPEC-8-green?labelColor=%23004811&color=%235CA038)](https://scientific-python.org/specs/spec-0008/) diff --git a/lefthook.yml b/lefthook.yml index 4797a99..3ae3197 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -1,7 +1,20 @@ -lefthook: pixi run --environment=lint lefthook +lefthook: pixi run --no-progress --environment=lint lefthook templates: - run: run --environment=lint + run: run --quiet --no-progress --environment=lint + +colors: true + +output: + - meta # Print lefthook version + - summary # Print summary block (successful and failed steps) + - empty_summary # Print summary heading when there are no steps to run + # - success # Print successful steps + # - failure # Print failed steps printing + # - execution # Print any execution logs + # - execution_out # Print execution output + # - execution_info # Print `EXECUTE > ...` logging + - skips # Print "skip" (i.e. no files matched) pre-commit: parallel: true