Add Travis check for unused Python imports
This commit is contained in:
1 parent
c7399e7082
commit
d60b320740
2 files changed
+12
-1
No files matched your search
Executable
+10
@@ -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 .
|
||||
Reference in new issue
Block a user