Skip to content

Commit

Permalink
Add pre-commit checks and fix whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Jan 3, 2025
1 parent 237a484 commit 8e96d01
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ci:
autoupdate_schedule: quarterly
autofix_prs: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
# Validate format
- id: check-yaml
- id: check-toml
- id: check-json
# Check for common mistakes
- id: check-added-large-files
- id: check-case-conflict
# - id: check-illegal-windows-names # TODO: Enable in next release
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: no-commit-to-branch # protects `main` by default
- id: trailing-whitespace
2 changes: 1 addition & 1 deletion _extensions/mcanouil/iconify/iconify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ return {
if is_empty(inline) or inline ~= "false" then
attributes = ' inline ' .. attributes
end


return pandoc.RawInline(
'html',
Expand Down
4 changes: 2 additions & 2 deletions blog/20241030-kickoff.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ We brainstormed our values - not in priority order.
* Reproducibility (scripting)
* Client-side computing
* Binder -> JupyterLite?
* DEMOCRATIZING!
* DEMOCRATIZING!
* See Capytale - high school teachers created the first WASM Jupyter. Serves 500k
French high school students per year on two computers because everything is done
client-side.
Expand Down Expand Up @@ -184,5 +184,5 @@ We brainstormed our values - not in priority order.
process.
* Audited MyST/AGU work for openness. Carthic(?). CurveNote. Hope Carthic will provide
more funding. (Sorry, this isn't clear because I got behind on notetaking!)
* AGU & physics communities leading the way.
* AGU & physics communities leading the way.
* Want scrollytelling in MyST!

0 comments on commit 8e96d01

Please sign in to comment.