Skip to content

Commit d3adf39

Browse files
committed
build: copier-auto-update
1 parent 1bd8f26 commit d3adf39

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Answer file maintained by Copier for: https://github.com/KyleKing/mdformat-plugin-template
33
# DO NOT MODIFY THIS FILE. Edit by re-running copier and changing responses to the questions
44
# Check into version control.
5-
_commit: 2.0.0
5+
_commit: 2.1.2
66
_src_path: gh:KyleKing/mdformat-plugin-template
77
author_email: [email protected]
88
author_name: Kyle King

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ${{ matrix.os }}
2323
strategy:
2424
matrix:
25-
python-version: [3.10, 3.12]
25+
python-version: ["3.10", "3.12"]
2626
os: [ubuntu-latest, windows-latest]
2727
steps:
2828
- uses: actions/checkout@v5

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ repos:
4040
hooks:
4141
- id: yamllint
4242
stages: ["pre-commit"]
43+
- repo: https://github.com/python-jsonschema/check-jsonschema
44+
rev: 0.30.0
45+
hooks:
46+
- id: check-github-workflows
47+
args: ["--verbose"]
48+
stages: ["pre-commit"]
4349
- repo: https://github.com/pappasam/toml-sort
4450
rev: v0.24.3
4551
hooks:

AGENTS.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ tox -e py310-hook
4848

4949
### Plugin System
5050

51-
The package implements mdformat's plugin interface with four key exports in `__init__.py`:
51+
The package implements mdformat's plugin interface with up to four key exports in `__init__.py`:
5252

5353
- `update_mdit`: Registers markdown-it parser extensions
54-
- `add_cli_argument_group`: Adds CLI flags (`--align-semantic-breaks-in-lists`, `--ignore-missing-references`)
54+
- `add_cli_argument_group`: Optionally adds CLI flags
5555
- `RENDERERS`: Maps syntax tree node types to render functions
5656
- `POSTPROCESSORS`: Post-processes rendered output (list normalization, inline wrapping, deflist escaping)
5757

@@ -89,12 +89,11 @@ The package implements mdformat's plugin interface with four key exports in `__i
8989

9090
Configuration can be passed via:
9191

92-
1. CLI arguments: `--align-semantic-breaks-in-lists`, `--ignore-missing-references`
93-
1. TOML config file (`.mdformat.toml`):
92+
1. Example CLI arguments: `--cli-argument`
93+
1. Example TOML config file (`.mdformat.toml`):
9494
```toml
9595
[plugin.mkdocs]
96-
align_semantic_breaks_in_lists = true
97-
ignore_missing_references = true
96+
cli_argument = true
9897
```
9998
1. API: `mdformat.text(content, extensions={"mkdocs"}, options={...})`
10099

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ or directly with [prek](https://github.com/j178/prek) (or pre-commit)
4242

4343
```bash
4444
uv tool install prek
45-
prek install -f
4645
# or: pipx install prek, brew install prek, etc.
4746

47+
prek install -f
4848
prek run --all
4949
```
5050

0 commit comments

Comments
 (0)