Skip to content

Commit aa11d22

Browse files
committed
add info about config and remove linting specific files
1 parent e2dd463 commit aa11d22

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/tools/tidy/Readme.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,7 @@ Any argument without a suffix (eg. `py` or `js`) will include all possible check
6868

6969
Any argument can be prefixed with `auto:` to only run if relevant files are modified (eg. `--extra-checks=auto:py`).
7070

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`)
7772

7873
## Tidy Directives
7974

0 commit comments

Comments
 (0)