aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-03-03 05:41:50 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-03-03 05:59:10 +0000
commitdb0f85b0105a598953489eebfa28385e1364bd7a (patch)
tree16d795c4200e39e50e25a9d7269fb677d9ba16f7 /.pylintrc
parent18f025e0a3e56d4e698f921220e18954b14723cc (diff)
Configure and enable too-many-arguments lint
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index 6c788cd072..a8d1459940 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -3,6 +3,12 @@
# not include "unused_" and "ignored_" by default?
dummy-variables-rgx=^ignored_|^unused_
+[DESIGN]
+# NOTE(nathaniel): Not particularly attached to this value; it just seems to
+# be what works for us at the moment (excepting the dead-code-walking Beta
+# API).
+max-args=6
+
[MISCELLANEOUS]
# NOTE(nathaniel): We are big fans of "TODO(<issue link>): " and
# "NOTE(<username or issue link>): ". We do not allow "TODO:",
@@ -13,7 +19,6 @@ notes=FIXME,XXX
#TODO: Enable missing-docstring
#TODO: Enable too-few-public-methods
-#TODO: Enable too-many-arguments
#TODO: Enable no-init
#TODO: Enable duplicate-code
#TODO: Enable invalid-name
@@ -35,4 +40,4 @@ notes=FIXME,XXX
#TODO: Enable too-many-return-statements
#TODO: Enable too-many-nested-blocks
-disable=missing-docstring,too-few-public-methods,too-many-arguments,no-init,duplicate-code,invalid-name,locally-disabled,protected-access,no-name-in-module,unused-argument,wrong-import-order,cyclic-import,too-many-instance-attributes,too-many-locals,too-many-lines,redefined-variable-type,next-method-called,import-error,useless-else-on-loop,too-many-return-statements,too-many-nested-blocks
+disable=missing-docstring,too-few-public-methods,no-init,duplicate-code,invalid-name,locally-disabled,protected-access,no-name-in-module,unused-argument,wrong-import-order,cyclic-import,too-many-instance-attributes,too-many-locals,too-many-lines,redefined-variable-type,next-method-called,import-error,useless-else-on-loop,too-many-return-statements,too-many-nested-blocks