Add Travis check for unused Python imports

This commit is contained in:
practicalswift committed 2017-12-10 11:49:43 +01:00
1 parent c7399e7082
commit d60b320740
2 files changed
+12 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
#
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Check for specified flake8 warnings in python files.
# F401: module imported but unused
flake8 --ignore=B,C,E,F,I,N,W --select=F401 .