chiark / gitweb /
pep8: on *.TestCase, skip "E402 module level import not at top of file"
authorHans-Christoph Steiner <hans@eds.org>
Tue, 1 Sep 2015 18:10:01 +0000 (20:10 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 1 Sep 2015 18:10:01 +0000 (20:10 +0200)
commitf87b17139b7838e99ca87c8a1e3c687f0a45c7d2
treee05b79c31f9e7d0b9be9533c9f3accfa513d9f2e
parent242e9d2fb9992f602e4b912be813547db3d9972f
pep8: on *.TestCase, skip "E402 module level import not at top of file"

The tests use a little hack in order to cleanly import the fdroidserver
package locally like a regular package.  pep8 doesn't see that, so this
changes the pep8 to skip E402 on *.TestCase
hooks/pre-commit