Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Run style checks
- name: Run style and markdown link checks
shell: sh
run: |
pre-commit run --all || (echo "Style checks failed, please install pre-commit and run pre-commit run --all and push the change"; echo ""; git --no-pager diff; exit 1)
pre-commit run --all || (echo "Style or markdown link checks failed, please install pre-commit and run pre-commit run --all and push the change"; echo ""; git --no-pager diff; exit 1)
Comment thread
x-n2o marked this conversation as resolved.

docs:
needs: lint
Expand Down
4 changes: 4 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
^file://.*/Source/Cmlx/fmt/.*
^file://.*/Source/Cmlx/json/.*
^file://.*/Source/Cmlx/metal-cpp/.*
^file://.*/Source/(MLX|MLXNN|MLXOptimizers)/Documentation\.docc/(mlx|mlxnn|mlxoptimizers)$
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@ repos:
rev: v0.6.10
hooks:
- id: cmake-format

- repo: https://github.com/lycheeverse/lychee.git
rev: lychee-v0.24.2
hooks:
- id: lychee
args:
- --no-progress
- --offline
types: [markdown]
Comment thread
x-n2o marked this conversation as resolved.
2 changes: 2 additions & 0 deletions ACKNOWLEDGMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ with a short description of your contribution(s) below. For example:

MLX Swift was developed with contributions from the following individuals:

- [Ledio Berdellima](https://github.com/x-n2o): Added Markdown link checks in pre-commit/CI.

<a href="https://github.com/ml-explore/mlx-swift/graphs/contributors">
<img class="dark-light" src="https://contrib.rocks/image?repo=ml-explore/mlx-swift&anon=0&columns=20&max=100&r=true" />
</a>
Expand Down
Loading