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
Copy file name to clipboardExpand all lines: src/tools/tidy/Readme.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,7 @@ Any argument without a suffix (eg. `py` or `js`) will include all possible check
68
68
69
69
Any argument can be prefixed with `auto:` to only run if relevant files are modified (eg. `--extra-checks=auto:py`).
70
70
71
-
72
-
`extra-checks` always runs in addition to the base tidy run. Additionally, you can pass in a specific file or directory to check only those files with an `extra-check`. For example:
73
-
74
-
`./x test tidy --extra-checks=py -- src/bootstrap` will check all `.py` files recursively within the `/src/bootstrap` directory.
75
-
76
-
`./x test tidy --extra-checks=py:lint -- src/bootstrap/bootstrap.py` will lint the single `.py` file specified.
71
+
A specific configuration file or folder can be passed to tidy after a double dash (`--extra-checks=py -- foo.py`)
0 commit comments