aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/lint-python.sh
blob: ef7dec769b7d74e2e85cd9c0d7c179965e3028d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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
# F812 list comprehension redefines 'foo' from line N
flake8 --ignore=B,C,E,F,I,N,W --select=F401,F812 .