mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 02:53:35 +00:00
- changelog: fix 3 silent RST mis-renders carried over from the old monolith — Markdown link in 0.7.0, mismatched/single backticks in 0.18.0 / 0.20.0 - make-release skill contributors one-liner: parallelize the gh fetch, anchor the bot filter (was a substring that dropped handles like "abbott"), and join with ", " (paste -sd cycles the delimiter -> "@a,@b @c"); finalize now stages only the reviewed set (git add -A -- ':!.idea'); drop the obsolete CRLF gotcha - make_release.py: emit LF not CRLF in the repository.yml insertion (fixes the gotcha at the source) - docs sidebar: drop the hardcoded furo component list; override brand.html to include furo's own template + the sponsor button (decoupled from furo internals, no upper-bound pin needed); move sponsor styles into custom.css - .pre-commit-config.yaml: drop stale end-of-file-fixer excludes for the deleted contributors/CoC include shims Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
|
|
#
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: trailing-whitespace
|
|
exclude: |
|
|
(?x)^(
|
|
hw/bsp/mcx/sdk/
|
|
)
|
|
- id: end-of-file-fixer
|
|
exclude: |
|
|
(?x)^(
|
|
.idea/|
|
|
hw/bsp/mcx/sdk/
|
|
)
|
|
- id: forbid-submodules
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.4
|
|
hooks:
|
|
- id: codespell
|
|
args: [-w]
|
|
exclude: |
|
|
(?x)^(
|
|
lib/|
|
|
hw/bsp/mcx/sdk/
|
|
)
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: unit-test
|
|
name: unit-test
|
|
files: ^(src/|test/unit-test/)
|
|
entry: sh -c "cd test/unit-test && ceedling test:all"
|
|
pass_filenames: false
|
|
types_or: [c, header]
|
|
language: system
|
|
|
|
# - id: build-fuzzer
|
|
# name: build-fuzzer
|
|
# files: ^(src/|test/fuzz/)
|
|
# language: system
|
|
# types_or: [c, header]
|
|
# entry: |
|
|
# bash -c 'export CC=clang
|
|
# export CXX=clang++
|
|
# fuzz_harness=$(ls -d test/fuzz/device/*/)
|
|
# for h in $fuzz_harness
|
|
# do
|
|
# make -C $h get-deps
|
|
# make -C $h all
|
|
# done'
|