Bug 1962286 - In docs for jj fix integration add note for Windows with config example r=linter-reviewers,ahal

Differential Revision: https://phabricator.services.mozilla.com/D246525
This commit is contained in:
Alex Hochheiden
2025-04-24 16:33:52 +00:00
parent a6ca1f0a50
commit 8ad03211b8

View File

@@ -132,6 +132,17 @@ the following to your repo config:
command = ["path/to/mozilla-unified/tools/lint/pipelint", "$path"]
patterns = ["glob:'**/*'"]
.. note::
On Windows you must explicitly prepend ``"python3",`` to `command`.
.. code-block:: toml
[fix.tools.mozlint]
command = ["python3", "path/to/mozilla-unified/tools/lint/pipelint", "$path"]
patterns = ["glob:'**/*'"]
.. _Jujutsu SCM's: https://jj-vcs.github.io/jj/latest/
Editor Integrations