aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2017-03-02 18:49:07 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2017-03-02 23:41:06 +0000
commit8903a19b0d2cfd11e1170d088dd98cefb19d7a9a (patch)
tree229806518922189e54f89b77c57c3423b237ec87 /.pylintrc
parentd5e3766027fa0f7e09700ff3af24db3b5f0581a1 (diff)
Control and enable fixme lint
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/.pylintrc b/.pylintrc
index 81b4048652..36d02f1f20 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -3,6 +3,12 @@
# not include "unused_" and "ignored_" by default?
dummy-variables-rgx=^ignored_|^unused_
+[MISCELLANEOUS]
+# NOTE(nathaniel): We are big fans of "TODO(<issue link>): " and
+# "NOTE(<username or issue link>): ". We do not allow "TODO:",
+# "TODO(<username>):", "FIXME:", or anything else.
+notes=FIXME,XXX
+
[MESSAGES CONTROL]
#TODO: Enable missing-docstring
@@ -16,7 +22,6 @@ dummy-variables-rgx=^ignored_|^unused_
#TODO: Enable protected-access
#TODO: Enable no-name-in-module
#TODO: Enable unused-argument
-#TODO: Enable fixme
#TODO: Enable wrong-import-order
#TODO: Enable cyclic-import
#TODO: Enable redefined-outer-name
@@ -32,4 +37,4 @@ dummy-variables-rgx=^ignored_|^unused_
#TODO: Enable too-many-nested-blocks
#TODO: Enable super-init-not-called
-disable=missing-docstring,too-few-public-methods,too-many-arguments,no-init,duplicate-code,invalid-name,suppressed-message,locally-disabled,protected-access,no-name-in-module,unused-argument,fixme,wrong-import-order,cyclic-import,redefined-outer-name,too-many-instance-attributes,broad-except,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,super-init-not-called
+disable=missing-docstring,too-few-public-methods,too-many-arguments,no-init,duplicate-code,invalid-name,suppressed-message,locally-disabled,protected-access,no-name-in-module,unused-argument,wrong-import-order,cyclic-import,redefined-outer-name,too-many-instance-attributes,broad-except,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,super-init-not-called