##// END OF EJS Templates
issue6528: add a config option to control the fixing on the fly...
issue6528: add a config option to control the fixing on the fly This will allow people who know to be safe to avoid any performance overhead (and other potential issue). Differential Revision: https://phab.mercurial-scm.org/D11271

File last commit:

r47629:41d43d12 default
r48630:2813d406 5.9rc1 stable
Show More
test-check-format.t
11 lines | 282 B | text/troff | Tads3Lexer
/ tests / test-check-format.t
test: add `test-repo` requirement to `test-check-format` (issue6395)...
r45949 #require black test-repo
formatting: introduce a `test-check-format-black.t` that enforce formatting...
r43365
Matt Harbison
tests: restore the ability to run `black` on Windows...
r47629 Black needs the real USERPROFILE in order to run on Windows
#if msys
$ USERPROFILE="$REALUSERPROFILE"
$ export USERPROFILE
#endif
formatting: introduce a `test-check-format-black.t` that enforce formatting...
r43365 $ cd $RUNTESTDIR/..
Augie Fackler
black: merge config into main pyproject.toml now that we have it...
r47532 $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`
formatting: introduce a `test-check-format-black.t` that enforce formatting...
r43365