2014-06-19 09:04:37 +02:00
|
|
|
# vim: ft=dosini fileencoding=utf-8:
|
|
|
|
|
2014-05-15 08:11:00 +02:00
|
|
|
[MASTER]
|
2015-03-26 07:56:29 +01:00
|
|
|
ignore=resources.py
|
2015-01-20 00:02:35 +01:00
|
|
|
extension-pkg-whitelist=PyQt5,sip
|
2016-02-19 07:09:13 +01:00
|
|
|
load-plugins=qute_pylint.config,
|
|
|
|
qute_pylint.modeline,
|
|
|
|
qute_pylint.openencoding,
|
2016-07-11 13:12:52 +02:00
|
|
|
qute_pylint.settrace,
|
2016-07-11 13:47:18 +02:00
|
|
|
pylint.extensions.bad_builtin,
|
|
|
|
pylint.extensions.docstyle
|
2016-07-20 15:51:57 +02:00
|
|
|
persistent=n
|
2014-05-15 08:11:00 +02:00
|
|
|
|
2014-04-16 11:05:58 +02:00
|
|
|
[MESSAGES CONTROL]
|
2015-12-01 23:01:09 +01:00
|
|
|
enable=all
|
2014-04-16 11:05:58 +02:00
|
|
|
disable=no-self-use,
|
|
|
|
fixme,
|
|
|
|
global-statement,
|
|
|
|
locally-disabled,
|
2016-07-07 14:41:39 +02:00
|
|
|
locally-enabled,
|
2014-04-16 11:05:58 +02:00
|
|
|
too-many-ancestors,
|
|
|
|
too-few-public-methods,
|
2014-04-28 00:05:14 +02:00
|
|
|
too-many-public-methods,
|
2014-04-29 08:38:01 +02:00
|
|
|
cyclic-import,
|
2014-05-19 04:10:56 +02:00
|
|
|
bad-continuation,
|
2014-06-17 07:19:16 +02:00
|
|
|
too-many-instance-attributes,
|
2014-08-05 21:09:55 +02:00
|
|
|
blacklisted-name,
|
2015-01-20 00:02:35 +01:00
|
|
|
too-many-lines,
|
2015-12-01 06:53:05 +01:00
|
|
|
logging-format-interpolation,
|
2015-03-11 20:14:39 +01:00
|
|
|
broad-except,
|
2015-12-01 06:53:05 +01:00
|
|
|
bare-except,
|
|
|
|
eval-used,
|
|
|
|
exec-used,
|
2015-11-30 07:16:24 +01:00
|
|
|
file-ignored,
|
|
|
|
wrong-import-order,
|
|
|
|
ungrouped-imports,
|
2015-12-01 23:01:09 +01:00
|
|
|
redefined-variable-type,
|
2016-05-26 07:39:47 +02:00
|
|
|
suppressed-message,
|
2016-07-08 11:03:27 +02:00
|
|
|
too-many-return-statements,
|
2016-07-11 13:00:37 +02:00
|
|
|
duplicate-code,
|
2017-03-23 20:51:37 +01:00
|
|
|
wrong-import-position,
|
|
|
|
no-else-return
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[BASIC]
|
2015-11-30 21:07:44 +01:00
|
|
|
function-rgx=[a-z_][a-z0-9_]{2,50}$
|
2014-04-16 11:05:58 +02:00
|
|
|
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
|
2016-07-05 20:11:42 +02:00
|
|
|
method-rgx=[a-z_][A-Za-z0-9_]{1,50}$
|
2014-04-16 11:05:58 +02:00
|
|
|
attr-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
|
|
argument-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
|
|
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
2015-07-23 11:32:19 +02:00
|
|
|
docstring-min-length=3
|
2016-02-01 20:06:24 +01:00
|
|
|
no-docstring-rgx=(^_|^main$)
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[FORMAT]
|
|
|
|
max-line-length=79
|
2016-01-22 19:38:53 +01:00
|
|
|
ignore-long-lines=(<?https?://|^# Copyright 201\d|# (pylint|flake8): disable=)
|
2015-11-30 20:17:27 +01:00
|
|
|
expected-line-ending-format=LF
|
2014-04-16 11:05:58 +02:00
|
|
|
|
2014-04-16 16:16:29 +02:00
|
|
|
[SIMILARITIES]
|
2014-08-07 14:37:35 +02:00
|
|
|
min-similarity-lines=8
|
2014-04-16 16:16:29 +02:00
|
|
|
|
2014-04-16 11:05:58 +02:00
|
|
|
[VARIABLES]
|
2014-04-22 17:53:27 +02:00
|
|
|
dummy-variables-rgx=_.*
|
2014-04-16 11:05:58 +02:00
|
|
|
|
|
|
|
[DESIGN]
|
|
|
|
max-args=10
|
2014-09-04 08:00:05 +02:00
|
|
|
|
2016-05-11 08:01:25 +02:00
|
|
|
[CLASSES]
|
|
|
|
valid-metaclass-classmethod-first-arg=cls
|
|
|
|
|
2014-09-04 08:00:05 +02:00
|
|
|
[TYPECHECK]
|
2016-08-23 07:45:31 +02:00
|
|
|
# WORKAROUND for https://github.com/PyCQA/astroid/pull/357
|
2017-05-17 19:08:59 +02:00
|
|
|
ignored-modules=pytest,PyQt5,PyQt5.QtWebKit
|
2015-11-30 07:16:12 +01:00
|
|
|
# MsgType added as WORKAROUND for
|
|
|
|
# https://bitbucket.org/logilab/pylint/issues/690/
|
2015-11-30 20:31:49 +01:00
|
|
|
# UnsetObject because pylint infers any objreg.get(...) as UnsetObject.
|
|
|
|
ignored-classes=qutebrowser.utils.objreg.UnsetObject,
|
2016-06-13 10:49:58 +02:00
|
|
|
qutebrowser.browser.webkit.webelem.WebElementWrapper,
|
2016-11-01 19:42:09 +01:00
|
|
|
scripts.dev.check_coverage.MsgType,
|
|
|
|
qutebrowser.browser.downloads.UnsupportedAttribute
|