Skip to content

Commit c67103e

Browse files
authored
docs: --root is required for tox run -e black (Azure#38751)
1 parent 8fa64b5 commit c67103e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/eng_sys_checks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ to opt into the black invocation.
253253
#### Running locally
254254

255255
1. Go to package root directory.
256-
2. Execute command: `tox run -e black -c ../../../eng/tox/tox.ini -- .`
256+
2. Execute command: `tox run -e black -c ../../../eng/tox/tox.ini --root . -- .`
257257

258-
**Tip**: You can provide any arguments that `black` accepts after the `--`. Example: `tox run -e black -c ../../../eng/tox/tox.ini -- path/to/file.py`
258+
**Tip**: You can provide any arguments that `black` accepts after the `--`. Example: `tox run -e black -c ../../../eng/tox/tox.ini --root . -- path/to/file.py`
259259

260260
### Change log verification
261261

0 commit comments

Comments
 (0)