You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5dd7ad5
Browse filesBrowse the repository at this point in the historyBrowse files
Then return to [Recommended clone](#recommended-clone).
194
193
195
-
### Pre-commit lychee workaround
196
-
197
-
For development on Windows (not WSL), the `lychee` pre-commit task will not
198
-
work when running `pre-commit run --all-files`. This problem does not occur
199
-
if you install the pre-commit hook and run it automatically as part of your
200
-
`git commit` workflow. To resolve this, you can either:
201
-
202
-
1. Run `pre-commit` in Git Bash, rather than directly in PowerShell or cmd
203
-
204
-
2. Skip it by setting the environment variable `SKIP` to `lychee`. This would
205
-
be `$env:SKIP = "lychee"` in PowerShell or `set SKIP=lychee` in cmd.
206
-
207
-
208
194
## Type stubs for cuda.core
209
195
210
196
`cuda.core` is a PEP 561-compliant package: it ships a `py.typed` marker and
@@ -237,6 +223,8 @@ To set yourself up for running pre-commit checks locally and to catch issues bef
237
223
* Run this once per checkout: `pre-commit install`
238
224
* You can manually check all files at any time by running: `pre-commit run --all-files`
239
225
226
+
On Windows, these commands work from PowerShell, cmd, or Git Bash.
227
+
240
228
This command runs all configured hooks (such as linters and formatters) across your repository, letting you review and address issues before committing.
241
229
242
230
Installing the hook is required, not optional. Some of the automated checks
@@ -256,8 +244,6 @@ hook environment, so no system-wide installation is required. Vendored code
256
244
`.pre-commit-config.yaml`. To format in your editor, install the same version
257
245
with `pip install clang-format==23.1.3`.
258
246
259
-
Windows contributors: see [Pre-commit lychee workaround](#pre-commit-lychee-workaround) under Development on Windows.
260
-
261
247
## Pixi lockfiles
262
248
263
249
The repository checks in a `pixi.lock` next to each `pixi.toml`. Those lockfiles
0 commit comments