From b78c9c9ee616e80a20fac50d6b64ec27f5714bda Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Tue, 15 Jul 2025 21:42:45 +0100 Subject: [PATCH 1/3] DOC: organise README badges --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cef223d3..1b33322a 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/) From b0a0debaabaef66e72427a0ff330413b26e76189 Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Tue, 15 Jul 2025 21:45:40 +0100 Subject: [PATCH 2/3] quiten lefthook --- .github/workflows/ci.yml | 2 +- lefthook.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ed9676d..bcbc67e9 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/lefthook.yml b/lefthook.yml index 4797a99e..b9767e28 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -1,7 +1,7 @@ -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 pre-commit: parallel: true From 8e1fa18bb1536aa0de304a91b1435fcce93b3bda Mon Sep 17 00:00:00 2001 From: Lucas Colley Date: Tue, 15 Jul 2025 21:48:46 +0100 Subject: [PATCH 3/3] quiten lefthook some more --- lefthook.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lefthook.yml b/lefthook.yml index b9767e28..3ae3197d 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,6 +3,19 @@ lefthook: pixi run --no-progress --environment=lint lefthook templates: 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 jobs: