enable some warnings in pylint

This commit is contained in:
Damien Elmes 2019-03-04 17:27:39 +10:00
parent ebdd8dae4b
commit 126cbd6534
2 changed files with 16 additions and 1 deletions

15
.pylintrc Normal file
View file

@ -0,0 +1,15 @@
[MESSAGES CONTROL]
disable=C,R,
fixme,
unused-wildcard-import,
attribute-defined-outside-init,
redefined-builtin,
wildcard-import,
broad-except,
bare-except,
unused-argument,
unused-variable,
redefined-outer-name,
global-statement,
protected-access,
arguments-differ,

View file

@ -1,4 +1,4 @@
#!/bin/bash
TOOLS="$(cd "`dirname "$0"`"; pwd)"
pylint -E -j 0 -f colorized --extension-pkg-whitelist=PyQt5 $TOOLS/../anki $TOOLS/../aqt
pylint -j 0 --rcfile=$TOOLS/../.pylintrc -f colorized --extension-pkg-whitelist=PyQt5 $TOOLS/../anki $TOOLS/../aqt