| OLD | NEW |
| 1 # PyLint config for apitools code. | 1 # PyLint config for apitools code. |
| 2 # | 2 # |
| 3 # NOTES: | 3 # NOTES: |
| 4 # | 4 # |
| 5 # - Rules for test / demo code are generated into 'pylintrc_reduced' | 5 # - Rules for test / demo code are generated into 'pylintrc_reduced' |
| 6 # as deltas from this configuration by the 'run_pylint.py' script. | 6 # as deltas from this configuration by the 'run_pylint.py' script. |
| 7 # | 7 # |
| 8 # - 'RATIONALE: API mapping' as a defense for non-default settings is | 8 # - 'RATIONALE: API mapping' as a defense for non-default settings is |
| 9 # based on the fact that this library maps APIs which are outside our | 9 # based on the fact that this library maps APIs which are outside our |
| 10 # control, and adhering to the out-of-the-box defaults would induce | 10 # control, and adhering to the out-of-the-box defaults would induce |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 # DEPRECATED | 38 # DEPRECATED |
| 39 # DEFAULT: include-ids=no | 39 # DEFAULT: include-ids=no |
| 40 | 40 |
| 41 # DEPRECATED | 41 # DEPRECATED |
| 42 # DEFAULT: symbols=no | 42 # DEFAULT: symbols=no |
| 43 | 43 |
| 44 | 44 |
| 45 [MESSAGES CONTROL] | 45 [MESSAGES CONTROL] |
| 46 | 46 |
| 47 # TODO: remove cyclic-import. |
| 47 disable = | 48 disable = |
| 49 cyclic-import, |
| 48 fixme, | 50 fixme, |
| 49 import-error, | 51 import-error, |
| 50 locally-disabled, | 52 locally-disabled, |
| 51 locally-enabled, | 53 locally-enabled, |
| 52 maybe-no-member, | 54 maybe-no-member, |
| 53 method-hidden, | 55 method-hidden, |
| 54 no-init, | 56 no-init, |
| 55 no-member, | 57 no-member, |
| 56 no-self-use, | 58 no-self-use, |
| 57 redefined-builtin, | 59 redefined-builtin, |
| 60 redundant-keyword-arg, |
| 58 similarities, | 61 similarities, |
| 59 star-args, | 62 star-args, |
| 60 super-on-old-class, | 63 super-on-old-class, |
| 61 too-few-public-methods, | 64 too-few-public-methods, |
| 62 too-many-arguments, | 65 too-many-arguments, |
| 63 too-many-branches, | 66 too-many-branches, |
| 67 too-many-function-args, |
| 64 too-many-instance-attributes, | 68 too-many-instance-attributes, |
| 65 too-many-locals, | 69 too-many-locals, |
| 66 too-many-public-methods, | 70 too-many-public-methods, |
| 67 too-many-return-statements, | 71 too-many-return-statements, |
| 68 too-many-statements, | 72 too-many-statements, |
| 69 | 73 |
| 70 | 74 |
| 71 [REPORTS] | 75 [REPORTS] |
| 72 | 76 |
| 73 # Set the output format. Available formats are text, parseable, colorized, msvs | 77 # Set the output format. Available formats are text, parseable, colorized, msvs |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 # DEFAULT: max-public-methods=20 | 340 # DEFAULT: max-public-methods=20 |
| 337 # RATIONALE: API mapping | 341 # RATIONALE: API mapping |
| 338 max-public-methods=40 | 342 max-public-methods=40 |
| 339 | 343 |
| 340 | 344 |
| 341 [EXCEPTIONS] | 345 [EXCEPTIONS] |
| 342 | 346 |
| 343 # Exceptions that will emit a warning when being caught. Defaults to | 347 # Exceptions that will emit a warning when being caught. Defaults to |
| 344 # "Exception" | 348 # "Exception" |
| 345 # DEFAULT: overgeneral-exceptions=Exception | 349 # DEFAULT: overgeneral-exceptions=Exception |
| OLD | NEW |