Skip to content

Commit 546a336

Browse files
authored
DOC: organise README badges (#364)
1 parent e89ebb5 commit 546a336

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cache: true
3535
environments: lint
3636

37-
- name: Lint
37+
- name: Lint (if this step fails, please 'pixi run lint' locally and push the changes)
3838
run: pixi run -e lint lint
3939

4040
checks:

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# array-api-extra
22

3-
[![Actions Status][actions-badge]][actions-link]
43
[![docs - here!][docs-badge]][docs-link]
5-
[![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)
6-
[![All Contributors](https://img.shields.io/github/all-contributors/data-apis/array-api-extra?color=ee8449&style=flat-square)](#contributors)
7-
[![Typing](https://img.shields.io/pypi/types/array-api-extra)](https://typing.python.org/)
8-
[![codecov](https://codecov.io/github/data-apis/array-api-extra/graph/badge.svg)](https://codecov.io/github/data-apis/array-api-extra)
9-
104
[![PyPI version][pypi-version]][pypi-link]
115
[![Conda-Forge][conda-badge]][conda-link]
126
[![PyPI platforms][pypi-platforms]][pypi-link]
7+
[![All Contributors](https://img.shields.io/github/all-contributors/data-apis/array-api-extra?color=ee8449&style=flat-square)](#contributors)
8+
9+
[![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)
10+
[![Typing](https://img.shields.io/pypi/types/array-api-extra)](https://typing.python.org/)
11+
[![codecov](https://codecov.io/github/data-apis/array-api-extra/graph/badge.svg)](https://codecov.io/github/data-apis/array-api-extra)
1312
[![EffVer Versioning](https://img.shields.io/badge/version_scheme-EffVer-0097a7)](https://jacobtomlinson.dev/effver)
1413
[![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/)
1514

lefthook.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1-
lefthook: pixi run --environment=lint lefthook
1+
lefthook: pixi run --no-progress --environment=lint lefthook
22

33
templates:
4-
run: run --environment=lint
4+
run: run --quiet --no-progress --environment=lint
5+
6+
colors: true
7+
8+
output:
9+
- meta # Print lefthook version
10+
- summary # Print summary block (successful and failed steps)
11+
- empty_summary # Print summary heading when there are no steps to run
12+
# - success # Print successful steps
13+
# - failure # Print failed steps printing
14+
# - execution # Print any execution logs
15+
# - execution_out # Print execution output
16+
# - execution_info # Print `EXECUTE > ...` logging
17+
- skips # Print "skip" (i.e. no files matched)
518

619
pre-commit:
720
parallel: true

0 commit comments

Comments
 (0)