mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
enable some warnings in pylint
This commit is contained in:
parent
ebdd8dae4b
commit
126cbd6534
2 changed files with 16 additions and 1 deletions
15
.pylintrc
Normal file
15
.pylintrc
Normal 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,
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TOOLS="$(cd "`dirname "$0"`"; pwd)"
|
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
|
||||||
|
|
Loading…
Reference in a new issue