##// END OF EJS Templates
tests: enforce the use of `from __future__ import annotations`...
Matt Harbison -
r53246:662b08ac default
parent child Browse files
Show More
@@ -43,3 +43,10 will likely receive warnings about a dir
43 > -X tests/test-verify-repo-operations.py \
43 > -X tests/test-verify-repo-operations.py \
44 > -X tests/test-extension.t \
44 > -X tests/test-extension.t \
45 > | sed 's-\\-/-g' | "$PYTHON" "$import_checker" -
45 > | sed 's-\\-/-g' | "$PYTHON" "$import_checker" -
46
47 All files that get type checked must have 'from __future__ import annotations'
48
49 $ testrepohg files 'set:**.py and size(">0")' -I mercurial -I hgext -X mercurial/thirdparty -0 \
50 > | xargs -0 grep -L '^from __future__ import annotations$'
51 mercurial/cmd_impls/graft.py
52 mercurial/testing/ps_util.py
General Comments 0
You need to be logged in to leave comments. Login now