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
|
2017-12-15 20:04:44 +01:00
|
|
|
disable=locally-disabled,
|
|
|
|
locally-enabled,
|
|
|
|
suppressed-message,
|
|
|
|
fixme,
|
2017-12-15 17:16:55 +01:00
|
|
|
no-self-use,
|
2014-04-29 08:38:01 +02:00
|
|
|
cyclic-import,
|
2014-08-05 21:09:55 +02:00
|
|
|
blacklisted-name,
|
2015-12-01 06:53:05 +01:00
|
|
|
logging-format-interpolation,
|
2017-12-15 20:04:44 +01:00
|
|
|
logging-not-lazy,
|
2015-03-11 20:14:39 +01:00
|
|
|
broad-except,
|
2015-12-01 06:53:05 +01:00
|
|
|
bare-except,
|
|
|
|
eval-used,
|
2017-09-14 16:16:14 +02:00
|
|
|
exec-used,
|
2017-12-15 17:16:55 +01:00
|
|
|
global-statement,
|
2017-03-23 20:51:37 +01:00
|
|
|
wrong-import-position,
|
2017-12-15 20:04:44 +01:00
|
|
|
duplicate-code,
|
2017-10-11 08:09:55 +02:00
|
|
|
no-else-return,
|
2017-12-15 17:16:55 +01:00
|
|
|
too-many-ancestors,
|
|
|
|
too-many-public-methods,
|
|
|
|
too-many-instance-attributes,
|
|
|
|
too-many-lines,
|
|
|
|
too-many-return-statements,
|
2017-10-31 07:35:00 +01:00
|
|
|
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]
|
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}$
|
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}$
|
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
|
2017-05-17 20:20:12 +02:00
|
|
|
ignore-long-lines=(<?https?://|^# Copyright 201\d)
|
2015-11-30 20:17:27 +01:00
|
|
|
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
|
|
|
|
2016-05-11 08:01:25 +02:00
|
|
|
[CLASSES]
|
|
|
|
valid-metaclass-classmethod-first-arg=cls
|
|
|
|
|
2014-09-04 08:00:05 +02:00
|
|
|
[TYPECHECK]
|
2017-05-17 20:20:12 +02:00
|
|
|
ignored-modules=PyQt5,PyQt5.QtWebKit
|
|
|
|
|
|
|
|
[IMPORTS]
|
2017-05-17 22:14:17 +02:00
|
|
|
# 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
|
2017-12-15 23:17:28 +01:00
|
|
|
known-third-party=sip
|