Skip to content

Commit 85eab2c

Browse files
authored
feat: ✨ add rumdl Markdown formatter (#239)
# Description Added rumdl to pre-commit hook and justfile. Also had to do some small modifications to the Markdown files to get it to reformat correctly. Closes #237 Needs a thorough review. ## Checklist - [x] Ran `just run-all`
1 parent b834864 commit 85eab2c

27 files changed

Lines changed: 326 additions & 239 deletions

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ EXPLANATION
44

55
Closes #
66

7-
Needs a quick/an in-depth review.
7+
Needs a quick/thorough review.
88

99
## Checklist
1010

11-
- [ ] Formatted Markdown
1211
- [ ] Ran `just run-all`

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ repos:
1515
hooks:
1616
- id: trailing-whitespace
1717
- id: end-of-file-fixer
18+
- id: check-merge-conflict
19+
args: [--assume-in-merge]
1820

1921
- repo: https://github.com/commitizen-tools/commitizen
2022
rev: v4.13.7
@@ -25,6 +27,11 @@ repos:
2527
# sub-packages, which confuses pre-commit when it tries to find the latest
2628
# version
2729
- repo: https://github.com/adhtruong/mirrors-typos
28-
rev: v1.43.3
30+
rev: v1.43.4
2931
hooks:
3032
- id: typos
33+
34+
- repo: https://github.com/rvben/rumdl-pre-commit
35+
rev: v0.1.18
36+
hooks:
37+
- id: rumdl-fmt # Auto-format

.rumdl.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[global]
2+
# 72 to match what we have currently been using
3+
line_length = 72
4+
flavor = "quarto"
5+
exclude = [
6+
# Common directories to exclude
7+
".github",
8+
# This is auto-generated from the qmd version
9+
"**/README.md",
10+
# This has it's own structure
11+
"**/LICENSE.md"
12+
]
13+
14+
# List style: `-`
15+
[MD004]
16+
style = "dash"
17+
18+
# Wrap list items
19+
[MD032]
20+
allow-lazy-continuation = false
21+
22+
# Reflow text
23+
[MD013]
24+
reflow = true
25+
reflow-mode = "normalize"
26+
27+
# Fix tables and their separator row
28+
[MD060]
29+
enabled = true
30+
style = "aligned-no-space"

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"vivaxy.vscode-conventional-commits",
1313
"pshaddel.conventional-branch",
1414
"tekumara.typos-vscode",
15-
"EditorConfig.EditorConfig"
15+
"EditorConfig.EditorConfig",
16+
"rvben.rumdl"
1617
],
1718
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
1819
"unwantedRecommendations": []

.vscode/settings.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"editor.wordWrap": "off",
44
"editor.formatOnSave": true,
55
"git.autofetch": false,
6-
"quarto.visualEditor.markdownWrap": "column",
7-
"quarto.visualEditor.markdownWrapColumn": 72,
86
"editor.tabCompletion": "on",
97
"editor.snippetSuggestions": "inline",
108
"conventional-branch.type": [

CHANGELOG.md

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22

3-
Since we follow [Conventional
4-
Commits](https://decisions.seedcase-project.org/why-conventional-commits)
3+
Since we follow
4+
[Conventional Commits](https://decisions.seedcase-project.org/why-conventional-commits)
55
when writing commit messages, we're able to automatically create formal
66
"releases" of the template based on the commit messages. Releases in the
77
context of template are when changes occur to the `template/` files or
@@ -43,164 +43,164 @@ each release.
4343

4444
### Fix
4545

46-
- :bug: overwrite `_contributor.qmd` with `>` (#207)
46+
- :bug: overwrite `_contributor.qmd` with `>` (#207)
4747

4848
### Refactor
4949

50-
- :arrow_up: upgrade pre-commit hook versions (#208)
50+
- :arrow_up: upgrade pre-commit hook versions (#208)
5151

5252
## 0.17.9 (2025-09-10)
5353

5454
### Refactor
5555

56-
- :pencil2: use `update`, not `add` for Quarto extension (#195)
56+
- :pencil2: use `update`, not `add` for Quarto extension (#195)
5757

5858
## 0.17.8 (2025-09-08)
5959

6060
### Fix
6161

62-
- :hammer: ignore other dirs and files when listing todos (#200)
63-
- :bug: `github_repo` (via `_folder_name`) doesn't work using `update`
62+
- :hammer: ignore other dirs and files when listing todos (#200)
63+
- :bug: `github_repo` (via `_folder_name`) doesn't work using `update`
6464
(#197)
6565

6666
### Refactor
6767

68-
- :pushpin: update pre-commit hook versions (#199)
69-
- :memo: simplify CHANGELOG description (#193)
70-
- :hammer: contributor script outputs text, output to file with
68+
- :pushpin: update pre-commit hook versions (#199)
69+
- :memo: simplify CHANGELOG description (#193)
70+
- :hammer: contributor script outputs text, output to file with
7171
justfile (#192)
72-
- :fire: `update-from-workflow` is too complicated and not needed
72+
- :fire: `update-from-workflow` is too complicated and not needed
7373
(#190)
7474

7575
## 0.17.7 (2025-09-05)
7676

7777
### Refactor
7878

79-
- :memo: simplify PR template (#196)
79+
- :memo: simplify PR template (#196)
8080

8181
## 0.17.6 (2025-09-05)
8282

8383
### Refactor
8484

85-
- :truck: rename to `check-python`, not `build` (#189)
85+
- :truck: rename to `check-python`, not `build` (#189)
8686

8787
## 0.17.5 (2025-09-02)
8888

8989
### Refactor
9090

91-
- :wrench: can render everything in Quarto project (#183)
91+
- :wrench: can render everything in Quarto project (#183)
9292

9393
## 0.17.4 (2025-09-02)
9494

9595
### Refactor
9696

97-
- :wrench: add more items to sidebar, like overview (#182)
97+
- :wrench: add more items to sidebar, like overview (#182)
9898

9999
## 0.17.3 (2025-09-02)
100100

101101
### Refactor
102102

103-
- :recycle: create homepage as variable, not question (#179)
103+
- :recycle: create homepage as variable, not question (#179)
104104

105105
## 0.17.2 (2025-09-02)
106106

107107
### Refactor
108108

109-
- :hammer: ignore `justfile` when listing TODO items (#181)
109+
- :hammer: ignore `justfile` when listing TODO items (#181)
110110

111111
## 0.17.1 (2025-09-02)
112112

113113
### Refactor
114114

115-
- :recycle: need `date-released` in `CITATION.cff` (#180)
115+
- :recycle: need `date-released` in `CITATION.cff` (#180)
116116

117117
## 0.17.0 (2025-09-02)
118118

119119
### Feat
120120

121-
- :sparkles: add CHANGELOG with some description of it (#178)
121+
- :sparkles: add CHANGELOG with some description of it (#178)
122122

123123
## 0.16.6 (2025-09-02)
124124

125125
### Refactor
126126

127-
- :recycle: delete whole references folder pre and post render (#142)
127+
- :recycle: delete whole references folder pre and post render (#142)
128128

129129
## 0.16.5 (2025-09-01)
130130

131131
### Refactor
132132

133-
- :truck: move GoatCounter file into `docs/includes/` (#177)
133+
- :truck: move GoatCounter file into `docs/includes/` (#177)
134134

135135
## 0.16.4 (2025-09-01)
136136

137137
### Refactor
138138

139-
- :pushpin: update pre-commit versions (#171)
139+
- :pushpin: update pre-commit versions (#171)
140140

141141
## 0.16.3 (2025-09-01)
142142

143143
### Refactor
144144

145-
- :hammer: use `--upgrade` when installing Python dependencies (#174)
145+
- :hammer: use `--upgrade` when installing Python dependencies (#174)
146146

147147
## 0.16.2 (2025-09-01)
148148

149149
### Refactor
150150

151-
- :wrench: add `theme` option in `_quarto.yml`, and `brand` for
151+
- :wrench: add `theme` option in `_quarto.yml`, and `brand` for
152152
Seedcase (#170)
153153

154154
## 0.16.1 (2025-09-01)
155155

156156
### Refactor
157157

158-
- :technologist: simplify the pull request template (#165)
158+
- :technologist: simplify the pull request template (#165)
159159

160160
## 0.16.0 (2025-08-26)
161161

162162
### Feat
163163

164-
- :sparkles: add `update-from-template` workflow (#134)
165-
- :sparkles: add hosting provider variable (#153)
166-
- :memo: add Conduct, Contributing, and filled out README (#131)
167-
- :sparkles: add 404 page to template (#141)
168-
- :sparkles: add files with copier variables (#127)
169-
- :sparkles: copy over static files to template folder (#117)
170-
- :hammer: gitleaks pre-commit to check for credentials (#100)
171-
- :sparkles: add mypy to VS Code settings and extensions (#93)
172-
- :sparkles: add examples section to docstring template (#39)
173-
- 🧑‍💻 add recipe `add-function` (#2)
164+
- :sparkles: add `update-from-template` workflow (#134)
165+
- :sparkles: add hosting provider variable (#153)
166+
- :memo: add Conduct, Contributing, and filled out README (#131)
167+
- :sparkles: add 404 page to template (#141)
168+
- :sparkles: add files with copier variables (#127)
169+
- :sparkles: copy over static files to template folder (#117)
170+
- :hammer: gitleaks pre-commit to check for credentials (#100)
171+
- :sparkles: add mypy to VS Code settings and extensions (#93)
172+
- :sparkles: add examples section to docstring template (#39)
173+
- 🧑‍💻 add recipe `add-function` (#2)
174174

175175
### Fix
176176

177-
- :bug: need to run build workflow after version bump to get changelog
177+
- :bug: need to run build workflow after version bump to get changelog
178178
(#110)
179-
- :construction_worker: explicitly checkout newest version to publish
179+
- :construction_worker: explicitly checkout newest version to publish
180180
(#107)
181-
- :construction_worker: forgot to checkout before building and
181+
- :construction_worker: forgot to checkout before building and
182182
publishing (#106)
183-
- :construction_worker: only run when previous and current versions
183+
- :construction_worker: only run when previous and current versions
184184
are different (#98)
185-
- :construction_worker: use the `has_released` output to run or not
185+
- :construction_worker: use the `has_released` output to run or not
186186
(#97)
187-
- :bug: install uv in publish step and only for tags (#96)
188-
- :hammer: the `check-commits` recipe wasn't correctly checking them
187+
- :bug: install uv in publish step and only for tags (#96)
188+
- :hammer: the `check-commits` recipe wasn't correctly checking them
189189
(#48)
190-
- :hammer: the `check-commits` recipe wasn't correctly checking them
191-
- :bug: remove auto-built reference docs before/after building (#47)
192-
- :bug: remove auto-built reference docs before/after building
193-
- :fire: remove django debugger (#44)
194-
- add `test-python` to `run-all` (#38)
195-
- :hammer: update test snippet to given, when, then (#29)
196-
197-
### Refactor
198-
199-
- :recycle: specify svg for all badges (#157)
200-
- :recycle: move copier test to own file (#156)
201-
- :recycle: update post-copy message (#154)
202-
- :recycle: match copier vars in `template-website` (#152)
203-
- :recycle: use `bash` for `check-commits` justfile recipe (#150)
204-
- :wrench: include `github-actions` in dependabot config (#136)
205-
- :construction_worker: move `uv build` step into publish job (#101)
206-
- :recycle: make mypy more strict in settings (#94)
190+
- :hammer: the `check-commits` recipe wasn't correctly checking them
191+
- :bug: remove auto-built reference docs before/after building (#47)
192+
- :bug: remove auto-built reference docs before/after building
193+
- :fire: remove django debugger (#44)
194+
- add `test-python` to `run-all` (#38)
195+
- :hammer: update test snippet to given, when, then (#29)
196+
197+
### Refactor
198+
199+
- :recycle: specify svg for all badges (#157)
200+
- :recycle: move copier test to own file (#156)
201+
- :recycle: update post-copy message (#154)
202+
- :recycle: match copier vars in `template-website` (#152)
203+
- :recycle: use `bash` for `check-commits` justfile recipe (#150)
204+
- :wrench: include `github-actions` in dependabot config (#136)
205+
- :construction_worker: move `uv build` step into publish job (#101)
206+
- :recycle: make mypy more strict in settings (#94)

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ be reported by opening an issue or contacting one or more of the project
2626
maintainers.
2727

2828
This Code of Conduct is adapted from the Contributor Covenant
29-
(https://contributor-covenant.org), version 1.0.0, available at
30-
https://contributor-covenant.org/version/1/0/0/
29+
(<https://contributor-covenant.org>), version 1.0.0, available at
30+
<https://contributor-covenant.org/version/1/0/0/>

CONTRIBUTING.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Contributing
22

3-
## Issues and bugs :bug:
3+
## :bug: Issues and bugs
44

55
The easiest way to contribute is to report issues or bugs that you might
6-
find while using `template-python-package`. You can do this by creating a
6+
find while using `template-python-package`. You can do this by creating
7+
a
78
[new](https://github.com/seedcase-project/template-python-package/issues/new/choose)
89
issue on our GitHub repository.
910

10-
## Adding or modifying content :pencil2:
11+
## :pencil2: Adding or modifying content
1112

1213
If you would like to contribute content, please check out our
1314
[guidebook](https://guidebook.seedcase-project.org/) for more specific
@@ -50,13 +51,13 @@ history. Meaning that if you make changes to the template and try to
5051
test it, it won't be able to test those changes. You have to commit the
5152
changes first in order for copier to use them.
5253

53-
When committing changes, please try to follow [Conventional
54-
Commits](https://decisions.seedcase-project.org/why-conventional-commits)
54+
When committing changes, please try to follow
55+
[Conventional Commits](https://decisions.seedcase-project.org/why-conventional-commits)
5556
as Git messages. Using this convention allows us to be able to
5657
automatically create a release based on the commit message by using
5758
[Commitizen](https://decisions.seedcase-project.org/why-semantic-release-with-commitizen).
5859
If you don't use Conventional Commits when making a commit, we will
59-
revise the pull request title to follow that format, as we use [squash
60-
merges](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/squashing-commits/about-squash-merges)
60+
revise the pull request title to follow that format, as we use
61+
[squash merges](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/squashing-commits/about-squash-merges)
6162
when merging pull requests, so all other commits in the pull request
6263
will be squashed into one commit.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ integration and delivery workflows, and supporting files for building
2727
robust Python packages.
2828

2929
Check out our
30-
[website](https://template-python-package.seedcase-project.org/) for
31-
more information, such as the features it provides and a
30+
[website](https://template-python-package.seedcase-project.org) for more
31+
information, such as the features it provides and a
3232
[guide](https://template-python-package.seedcase-project.org/docs/guide/)
3333
to using the template. For a list of changes, see our
3434
[changelog](https://template-python-package.seedcase-project.org/docs/releases/)

0 commit comments

Comments
 (0)