Nathaniel Manista | e151a21 | 2017-02-24 17:47:24 +0000 | [diff] [blame] | 1 | [VARIABLES] |
| 2 | # TODO(https://github.com/PyCQA/pylint/issues/1345): How does the inspection |
| 3 | # not include "unused_" and "ignored_" by default? |
| 4 | dummy-variables-rgx=^ignored_|^unused_ |
| 5 | |
Nathaniel Manista | db0f85b | 2017-03-03 05:41:50 +0000 | [diff] [blame^] | 6 | [DESIGN] |
| 7 | # NOTE(nathaniel): Not particularly attached to this value; it just seems to |
| 8 | # be what works for us at the moment (excepting the dead-code-walking Beta |
| 9 | # API). |
| 10 | max-args=6 |
| 11 | |
Nathaniel Manista | 8903a19 | 2017-03-02 18:49:07 +0000 | [diff] [blame] | 12 | [MISCELLANEOUS] |
| 13 | # NOTE(nathaniel): We are big fans of "TODO(<issue link>): " and |
| 14 | # "NOTE(<username or issue link>): ". We do not allow "TODO:", |
| 15 | # "TODO(<username>):", "FIXME:", or anything else. |
| 16 | notes=FIXME,XXX |
| 17 | |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 18 | [MESSAGES CONTROL] |
| 19 | |
| 20 | #TODO: Enable missing-docstring |
| 21 | #TODO: Enable too-few-public-methods |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 22 | #TODO: Enable no-init |
| 23 | #TODO: Enable duplicate-code |
| 24 | #TODO: Enable invalid-name |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 25 | #TODO: Enable locally-disabled |
| 26 | #TODO: Enable protected-access |
| 27 | #TODO: Enable no-name-in-module |
| 28 | #TODO: Enable unused-argument |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 29 | #TODO: Enable wrong-import-order |
Nathaniel Manista | b16d765 | 2017-03-02 21:10:12 +0000 | [diff] [blame] | 30 | # TODO(https://github.com/PyCQA/pylint/issues/59#issuecomment-283774279): |
| 31 | # enable cyclic-import after a 1.7-or-later pylint release that recognizes our |
| 32 | # disable=cyclic-import suppressions. |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 33 | #TODO: Enable too-many-instance-attributes |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 34 | #TODO: Enable too-many-locals |
| 35 | #TODO: Enable too-many-lines |
| 36 | #TODO: Enable redefined-variable-type |
| 37 | #TODO: Enable next-method-called |
| 38 | #TODO: Enable import-error |
| 39 | #TODO: Enable useless-else-on-loop |
| 40 | #TODO: Enable too-many-return-statements |
| 41 | #TODO: Enable too-many-nested-blocks |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 42 | |
Nathaniel Manista | db0f85b | 2017-03-03 05:41:50 +0000 | [diff] [blame^] | 43 | 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 |