Commit 1a8cc04c authored by Tomas Krizek's avatar Tomas Krizek

pylint: use pylint properly with pylintrc

parent 4e6e22cc
#!/bin/bash
set -o nounset -o xtrace -o errexit
source "$(dirname "$0")/common.sh"
PYFILES=$(find . \
-path ./.git -prune -o \
-path ./contrib -o \
-type d -exec test -e '{}/__init__.py' \; -print -prune -o \
-name '*.py' -print -o \
-type f -exec grep -qsm1 '^#!.*\bpython' '{}' \; -print)
${PYTHON} -m pylint -j 0 --rcfile pylintrc ${PYFILES}
[MESSAGES CONTROL]
disable=
missing-docstring,
too-few-public-methods,
too-many-arguments,
too-many-locals,
too-many-return-statements,
too-many-branches,
fixme,
unused-import, # checked by flake8
line-too-long, # checked by flake8
invalid-name,
broad-except,
bad-continuation,
global-statement,
no-else-return,
[SIMILARITIES]
min-similarity-lines=6
ignore-comments=yes
ignore-docstrings=yes
ignore-imports=no
[DESIGN]
max-parents=10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment