Skip to content

Commit 5ebe005

Browse files
style: pre-commit fixes
1 parent 6f40a13 commit 5ebe005

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

docs/_partials/pyproject.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with code_fence("toml"):
1414
print(pyproject.get_source("project"))
1515
]]] -->
1616
<!-- rumdl-disable MD013 -->
17-
```ini
17+
```toml
1818
[project]
1919
name = "package"
2020
version = "0.1.0"
@@ -146,7 +146,7 @@ with code_fence("toml"):
146146
print(pyproject.get_source("dependency-groups"))
147147
]]] -->
148148
<!-- rumdl-disable MD013 -->
149-
```ini
149+
```toml
150150
[dependency-groups]
151151
test = [
152152
"pytest >=9",

docs/assets/js/repo-review-widget.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export async function render({ model, el }) {
1919
// Determine the correct path to the app
2020
// The widget will be in /build/ and the app is in /assets/js/
2121
const baseUrl = new URL(import.meta.url);
22-
const appUrl = new URL("../../assets/js/repo-review-app.min.js", baseUrl).href;
22+
const appUrl = new URL("../../assets/js/repo-review-app.min.js", baseUrl)
23+
.href;
2324

2425
// Load the app via dynamic import
2526
try {
@@ -38,7 +39,7 @@ export async function render({ model, el }) {
3839
});
3940
} else {
4041
console.warn(
41-
"repo-review-app.min.js does not export mountApp, attempting alternative load"
42+
"repo-review-app.min.js does not export mountApp, attempting alternative load",
4243
);
4344
// Try loading as a script tag instead
4445
loadAppAsScript(appUrl);

docs/pages/guides/packaging_compiled.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ with code_fence("toml"):
7676
print(skbuild_pyproject.get_source("build-system"))
7777
]]] -->
7878
<!-- rumdl-disable MD013 -->
79-
```ini
79+
```toml
8080
[build-system]
8181
requires = ["pybind11", "scikit-build-core>=0.12"]
8282
build-backend = "scikit_build_core.build"
@@ -91,7 +91,7 @@ with code_fence("toml"):
9191
print(mesonpy_pyproject.get_source("build-system"))
9292
]]] -->
9393
<!-- rumdl-disable MD013 -->
94-
```ini
94+
```toml
9595
[build-system]
9696
requires = ["meson-python>=0.18", "pybind11"]
9797
build-backend = "mesonpy"
@@ -106,7 +106,7 @@ with code_fence("toml"):
106106
print(maturin_pyproject.get_source("build-system"))
107107
]]] -->
108108
<!-- rumdl-disable MD013 -->
109-
```ini
109+
```toml
110110
[build-system]
111111
requires = ["maturin>=1.9,<2"]
112112
build-backend = "maturin"
@@ -132,7 +132,7 @@ with code_fence("toml"):
132132
print(skbuild_pyproject.get_source("tool.scikit-build"))
133133
]]] -->
134134
<!-- rumdl-disable MD013 -->
135-
```ini
135+
```toml
136136
[tool.scikit-build]
137137
minimum-version = "build-system.requires"
138138
build-dir = "build/{wheel_tag}"
@@ -153,7 +153,7 @@ with code_fence("toml"):
153153
print(maturin_pyproject.get_source("tool.maturin"))
154154
]]] -->
155155
<!-- rumdl-disable MD013 -->
156-
```ini
156+
```toml
157157
[tool.maturin]
158158
module-name = "package._core"
159159
python-source = "src"
@@ -247,7 +247,7 @@ with code_fence("toml"):
247247
print(maturin_cargo_toml)
248248
]]] -->
249249
<!-- rumdl-disable MD013 -->
250-
```ini
250+
```toml
251251
[package]
252252
name = "package"
253253
version = "0.1.0"

0 commit comments

Comments
 (0)