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:
@@ -132,6 +132,17 @@ the following to your repo config:
|
|||||||
command = ["path/to/mozilla-unified/tools/lint/pipelint", "$path"]
|
command = ["path/to/mozilla-unified/tools/lint/pipelint", "$path"]
|
||||||
patterns = ["glob:'**/*'"]
|
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/
|
.. _Jujutsu SCM's: https://jj-vcs.github.io/jj/latest/
|
||||||
|
|
||||||
Editor Integrations
|
Editor Integrations
|
||||||
|
|||||||
Reference in New Issue
Block a user