diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index 0d910db..5f7a280 100644 --- a/.github/workflows/require-pr-label.yml +++ b/.github/workflows/require-pr-label.yml @@ -17,6 +17,11 @@ jobs: with: mode: minimum count: 1 - labels: - "changelog: Added, changelog: Changed, changelog: Deprecated, changelog: - Fixed, changelog: Removed, changelog: Security, changelog: skip" + labels: | + changelog: Added + changelog: Changed + changelog: Deprecated + changelog: Fixed + changelog: Removed + changelog: Security + changelog: skip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d7dc41..267299a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.2 + rev: v0.9.3 hooks: - id: ruff args: [--exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black @@ -39,7 +39,7 @@ repos: - id: actionlint - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.2.2 + rev: v1.3.0 hooks: - id: zizmor @@ -58,12 +58,18 @@ repos: hooks: - id: tox-ini-fmt + - repo: https://github.com/google/yamlfmt + rev: v0.15.0 + hooks: + - id: yamlfmt + - repo: https://github.com/rbubley/mirrors-prettier rev: v3.4.2 hooks: - id: prettier args: [--prose-wrap=always, --print-width=88] exclude: ^src/em/emoji.*\.json$ + exclude_types: [yaml] - repo: meta hooks: diff --git a/.yamlfmt.yaml b/.yamlfmt.yaml new file mode 100644 index 0000000..9d3236a --- /dev/null +++ b/.yamlfmt.yaml @@ -0,0 +1,2 @@ +formatter: + retain_line_breaks_single: true diff --git a/README.md b/README.md index e75353c..ed0381e 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![Supported Python versions](https://img.shields.io/pypi/pyversions/em-keyboard.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/em-keyboard/) [![PyPI downloads](https://img.shields.io/pypi/dm/em-keyboard.svg)](https://pypistats.org/packages/em-keyboard) [![GitHub Actions status](https://github.com/hugovk/em-keyboard/workflows/Test/badge.svg)](https://github.com/hugovk/em-keyboard/actions) -[![codecov](https://codecov.io/gh/hugovk/em-keyboard/branch/main/graph/badge.svg)](https://codecov.io/gh/hugovk/em-keyboard) -[![GitHub](https://img.shields.io/github/license/hugovk/em-keyboard.svg)](LICENSE) +[![Codecov](https://codecov.io/gh/hugovk/em-keyboard/branch/main/graph/badge.svg)](https://codecov.io/gh/hugovk/em-keyboard) +[![Licence](https://img.shields.io/github/license/hugovk/em-keyboard.svg)](LICENSE) [![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black) **Emoji your friends and colleagues from the comfort of your own terminal.** diff --git a/RELEASING.md b/RELEASING.md index edd0fec..80bc5f8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,4 +1,4 @@ -# Release Checklist +# Release checklist - [ ] Get `main` to the appropriate code release state. [GitHub Actions](https://github.com/hugovk/em-keyboard/actions) should be running