summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-05-17 20:20:12 +0200
committerFlorian Bruhin <git@the-compiler.org>2017-05-17 20:20:12 +0200
commit00a7a0cee6bb08c9821d56343aa429679788011c (patch)
tree822d790c7b7d9e029c88af0fec69f65f8cffde5f /.pylintrc
parent12520bf4ba7906c59a06d2254ac6c713c29ef1f5 (diff)
downloadqutebrowser-00a7a0cee6bb08c9821d56343aa429679788011c.tar.gz
qutebrowser-00a7a0cee6bb08c9821d56343aa429679788011c.zip
Reorganize pylint config
This removes various stuff we don't need anymoe, and also re-enables and fixes the import order check.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc22
1 files changed, 5 insertions, 17 deletions
diff --git a/.pylintrc b/.pylintrc
index 177dbffd0..9ac07cafc 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -30,11 +30,7 @@ disable=no-self-use,
broad-except,
bare-except,
eval-used,
- exec-used,
- file-ignored,
- wrong-import-order,
ungrouped-imports,
- redefined-variable-type,
suppressed-message,
too-many-return-statements,
duplicate-code,
@@ -53,12 +49,9 @@ no-docstring-rgx=(^_|^main$)
[FORMAT]
max-line-length=79
-ignore-long-lines=(<?https?://|^# Copyright 201\d|# (pylint|flake8): disable=)
+ignore-long-lines=(<?https?://|^# Copyright 201\d)
expected-line-ending-format=LF
-[SIMILARITIES]
-min-similarity-lines=8
-
[VARIABLES]
dummy-variables-rgx=_.*
@@ -69,12 +62,7 @@ max-args=10
valid-metaclass-classmethod-first-arg=cls
[TYPECHECK]
-# WORKAROUND for https://github.com/PyCQA/astroid/pull/357
-ignored-modules=pytest,PyQt5,PyQt5.QtWebKit
-# MsgType added as WORKAROUND for
-# https://bitbucket.org/logilab/pylint/issues/690/
-# UnsetObject because pylint infers any objreg.get(...) as UnsetObject.
-ignored-classes=qutebrowser.utils.objreg.UnsetObject,
- qutebrowser.browser.webkit.webelem.WebElementWrapper,
- scripts.dev.check_coverage.MsgType,
- qutebrowser.browser.downloads.UnsupportedAttribute
+ignored-modules=PyQt5,PyQt5.QtWebKit
+
+[IMPORTS]
+known-standard-library=faulthandler,http