Skip to content
Snippets Groups Projects
Commit 37e91b54482f authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

tests: run pyflakes on all python sources

parent 86b5bce143e8
No related branches found
No related tags found
1 merge request!138CI: Add some style checks for code & commits
#require test-repo pyflakes hg10
Load commonly used test logic
$ . "$TESTDIR/testutil"
$ . "$TESTDIR/helpers-testrepo.sh"
run pyflakes on all tracked files ending in .py or without a file ending
......@@ -13,7 +15,5 @@
[1]
$ cd "`dirname "$TESTDIR"`"
$ testrepohg locate 'set:**.py or grep("^#!.*python")' \
> -X tests/ \
> 2>/dev/null \
$ testrepohg files -I 'relglob:*.py' -I 'grep("^#!.*python*")' -X tests \
> | xargs $PYTHON -m pyflakes 2>/dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment