diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/pylint.rc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/buildtools/pylint.rc b/buildtools/pylint.rc index ed296108..34302f74 100644 --- a/buildtools/pylint.rc +++ b/buildtools/pylint.rc @@ -19,11 +19,21 @@ [MASTER] profile=no -ignore=.svn + +# Including "gui" here is a temporary measure: it's risky, but so is +# making ten zillion cosmetic changes in a co-worker's code on a +# long-running development branch. + +ignore=.svn,.git,migrations,south_migrations,irbe_cli,gui + persistent=yes cache-size=500 load-plugins= +# Extension (C, etc) modules that pylint should trust enough to import. + +extension-pkg-whitelist=lxml,rpki.POW + [MESSAGES CONTROL] # Enable only checker(s) with the given id(s). This option conflicts with the @@ -44,14 +54,13 @@ disable-msg-cat= #enable-msg= # Disable the message(s) with the given id(s). -disable=R0801,R0903,R0913,C0321,R0904,W0201,E1101,W0614,C0301,R0901,C0302,R0902,R0201,W0613,R0912,R0915,W0703,W0212,R0914,W0603,W0142,I0011,C0111,C0103,R0401,C0326,R0911,C0325 +disable=R0801,R0903,R0913,C0321,R0904,W0201,E1101,W0614,C0301,R0901,C0302,R0902,R0201,W0613,R0912,R0915,W0703,W0212,R0914,W0603,W0142,I0011,C0111,C0103,R0401,C0326,R0911,C0325,C0330,W0311,E1124 [REPORTS] #output-format=parseable msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} -include-ids=yes files-output=no reports=no evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |