Skip to content

Commit 9dd8059

Browse files
authored
docs: 🚨 Fix formatting issues in documentation (#1364)
* docs: 🚨 Fix formatting issues in documentation * ci: 💚 Update GitHub Actions workflow to include pre-commit step * chore: 💚 Remove comment * chore: ✏️ Fix typo in documentation
1 parent f577a1d commit 9dd8059

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/python-ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
pre-commit run --all-files --color=always
3333
build:
3434
name: Python ${{ matrix.python-version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
35-
# Temporary fix for pre-commit
36-
# needs: pre-commit
35+
needs: pre-commit
3736
runs-on: ${{ matrix.os }}
3837
strategy:
3938
fail-fast: false

docs/doc/statistics.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ sp.solver_model(
320320
)
321321
```
322322

323-
[^1]: requires a strictly postive `y_true` and `y_pred` array
324-
325-
[^2]: requires `sklearn >= 1.1.2`
326-
327323
[1]: https://en.wikipedia.org/wiki/Goodness_of_fit
328324
[2]: https://lmfit.github.io/lmfit-py/fitting.html?highlight=goodness
329325
[3]: https://en.wikipedia.org/wiki/Chi-squared_test
@@ -363,3 +359,9 @@ sp.solver_model(
363359
[23]:
364360
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.d2_absolute_error_score.html
365361
[24]: https://jupyter.org/
362+
363+
<!-- prettier-ignore -->
364+
[^1]: requires a strictly positive `y_true` and `y_pred` array
365+
366+
<!-- prettier-ignore -->
367+
[^2]: requires `sklearn >= 1.1.2`

0 commit comments

Comments
 (0)