qutebrowser/.pylintrc

79 lines
1.9 KiB
INI
Raw Normal View History

2014-06-19 09:04:37 +02:00
# vim: ft=dosini fileencoding=utf-8:
2014-05-15 08:11:00 +02:00
[MASTER]
ignore=resources.py
extension-pkg-whitelist=PyQt5,sip
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]
enable=all
2017-12-15 17:16:55 +01:00
disable=fixme,
no-self-use,
2014-04-29 08:38:01 +02:00
cyclic-import,
2014-08-05 21:09:55 +02:00
blacklisted-name,
logging-format-interpolation,
2015-03-11 20:14:39 +01:00
broad-except,
bare-except,
eval-used,
2017-09-14 16:16:14 +02:00
exec-used,
2017-12-15 17:16:55 +01:00
global-statement,
2015-11-30 07:16:24 +01:00
ungrouped-imports,
suppressed-message,
duplicate-code,
wrong-import-position,
no-else-return,
logging-not-lazy,
2017-12-15 17:16:55 +01:00
locally-disabled,
locally-enabled,
too-many-ancestors,
too-many-public-methods,
too-many-instance-attributes,
too-many-lines,
too-many-return-statements,
too-many-boolean-expressions,
too-many-locals,
too-many-branches,
2017-12-15 17:16:55 +01:00
too-many-statements,
too-few-public-methods
2014-04-16 11:05:58 +02:00
[BASIC]
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}$
2017-09-19 22:18:02 +02:00
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$
2014-04-16 11:05:58 +02:00
argument-rgx=[a-z_][a-z0-9_]{0,30}$
variable-rgx=[a-z_][a-z0-9_]{0,30}$
docstring-min-length=3
no-docstring-rgx=(^_|^main$)
2014-04-16 11:05:58 +02:00
[FORMAT]
max-line-length=79
ignore-long-lines=(<?https?://|^# Copyright 201\d)
expected-line-ending-format=LF
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
[CLASSES]
valid-metaclass-classmethod-first-arg=cls
2014-09-04 08:00:05 +02:00
[TYPECHECK]
ignored-modules=PyQt5,PyQt5.QtWebKit
2017-09-19 22:18:02 +02:00
ignored-classes=_CountingAttr
[IMPORTS]
# WORKAROUND
# For some reason, pylint doesn't know about some Python 3 modules on
# AppVeyor...
2017-05-17 22:47:17 +02:00
known-standard-library=faulthandler,http,enum,tokenize,posixpath,importlib,types