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 |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 28 | #TODO: Enable wrong-import-order |
Nathaniel Manista | b16d765 | 2017-03-02 21:10:12 +0000 | [diff] [blame] | 29 | # TODO(https://github.com/PyCQA/pylint/issues/59#issuecomment-283774279): |
| 30 | # enable cyclic-import after a 1.7-or-later pylint release that recognizes our |
| 31 | # disable=cyclic-import suppressions. |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 32 | #TODO: Enable too-many-instance-attributes |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 33 | #TODO: Enable too-many-lines |
| 34 | #TODO: Enable redefined-variable-type |
| 35 | #TODO: Enable next-method-called |
| 36 | #TODO: Enable import-error |
| 37 | #TODO: Enable useless-else-on-loop |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 38 | #TODO: Enable too-many-nested-blocks |
Mehrdad Afshari | 1a967c3 | 2017-02-13 11:38:17 -0800 | [diff] [blame] | 39 | |
Nathaniel Manista | 3ec1366 | 2017-03-03 06:23:53 +0000 | [diff] [blame] | 40 | disable=missing-docstring,too-few-public-methods,no-init,duplicate-code,invalid-name,locally-disabled,protected-access,no-name-in-module,wrong-import-order,cyclic-import,too-many-instance-attributes,too-many-lines,redefined-variable-type,next-method-called,import-error,useless-else-on-loop,too-many-nested-blocks |