| agable | d1c3695 | 2015-04-21 22:50:09 | [diff] [blame] | 1 | [MESSAGES CONTROL] |
| 2 | |
| 3 | # Disable the message, report, category or checker with the given id(s). |
| nednguyen | c3880df2 | 2015-04-23 15:03:18 | [diff] [blame] | 4 | # TODO(perf-owners): Reduce this list to as small as possible. |
| nednguyen | 30c4c78 | 2016-08-11 13:37:11 | [diff] [blame] | 5 | disable= |
| 6 | abstract-class-little-used, |
| 7 | abstract-class-not-used, |
| 8 | bad-builtin, |
| 9 | bad-continuation, |
| 10 | bad-indentation, |
| 11 | bad-whitespace, |
| 12 | broad-except, |
| 13 | eval-used, |
| 14 | fixme, |
| 15 | global-statement, |
| 16 | interface-not-implemented, |
| 17 | invalid-name, |
| 18 | locally-enabled, |
| 19 | locally-disabled, |
| 20 | logging-not-lazy, |
| 21 | missing-docstring, |
| 22 | no-member, |
| 23 | no-self-use, |
| 24 | star-args, |
| 25 | too-few-public-methods, |
| 26 | too-many-arguments, |
| 27 | too-many-branches, |
| 28 | too-many-instance-attributes, |
| 29 | too-many-locals, |
| 30 | too-many-public-methods, |
| 31 | too-many-statements, |
| Wenbin Zhang | f9ebd89 | 2022-07-11 19:04:46 | [diff] [blame] | 32 | too-many-return-statements, |
| Alison Gale | cd87a8e | 2024-04-29 18:52:44 | [diff] [blame] | 33 | # TODO(crbug.com/40231155): added for pylint 2.7 |
| Wenbin Zhang | f9ebd89 | 2022-07-11 19:04:46 | [diff] [blame] | 34 | raise-missing-from, # python3 only |
| 35 | useless-object-inheritance, # python3 only |
| 36 | super-with-arguments, # python3 only |
| 37 | duplicate-code, |
| 38 | wrong-import-position, |
| 39 | wrong-import-order |
| agable | d1c3695 | 2015-04-21 22:50:09 | [diff] [blame] | 40 | |
| 41 | |
| 42 | [REPORTS] |
| 43 | |
| 44 | # Don't write out full reports, just messages. |
| 45 | reports=no |
| 46 | |
| 47 | |
| eakuefner | 9b444f5 | 2015-10-30 18:26:09 | [diff] [blame] | 48 | [VARIABLES] |
| 49 | |
| 50 | # Google style |
| 51 | dummy-variables-rgx=_$|unused_ |
| 52 | |
| 53 | |
| agable | d1c3695 | 2015-04-21 22:50:09 | [diff] [blame] | 54 | [FORMAT] |
| 55 | |
| 56 | # We use two spaces for indents, instead of the usual four spaces or tab. |
| 57 | indent-string=' ' |
| nednguyen | 48f7d2b | 2015-08-28 09:43:14 | [diff] [blame] | 58 | |
| 59 | # We suppress long line check for lines that contain only the URL (with or |
| 60 | # without quote). |
| 61 | ignore-long-lines=^\s*'?https?://\S+'?$ |
| Camillo Bruni | 9a77092 | 2022-05-10 18:33:33 | [diff] [blame] | 62 | |
| 63 | |
| 64 | [DESIGN] |
| 65 | max-parents=10 |