|
| 1 | +[MASTER] |
| 2 | +load-plugins=pylint.extensions.docparams,pylint.extensions.docstyle |
| 3 | +max-line-length=100 |
| 4 | +disable=all |
| 5 | +ignore-patterns=.*_pb2\.py,quantum_engine_service_client.py,engine_pb2_grpc.py |
| 6 | +output-format=colorized |
| 7 | +score=no |
| 8 | +reports=no |
| 9 | +enable= |
| 10 | + anomalous-backslash-in-string, |
| 11 | + assert-on-tuple, |
| 12 | + bad-indentation, |
| 13 | + bad-option-value, |
| 14 | + bad-reversed-sequence, |
| 15 | + bad-super-call, |
| 16 | + consider-merging-isinstance, |
| 17 | + continue-in-finally, |
| 18 | + dangerous-default-value, |
| 19 | + docstyle, |
| 20 | + duplicate-argument-name, |
| 21 | + expression-not-assigned, |
| 22 | + function-redefined, |
| 23 | + inconsistent-mro, |
| 24 | + init-is-generator, |
| 25 | + line-too-long, |
| 26 | + lost-exception, |
| 27 | + missing-kwoa, |
| 28 | + mixed-indentation, |
| 29 | + mixed-line-endings, |
| 30 | + not-callable, |
| 31 | + no-value-for-parameter, |
| 32 | + nonexistent-operator, |
| 33 | + not-in-loop, |
| 34 | + parameter_documentation, |
| 35 | + pointless-statement, |
| 36 | + redefined-builtin, |
| 37 | + relative-import, |
| 38 | + return-arg-in-generator, |
| 39 | + return-in-init, |
| 40 | + return-outside-function, |
| 41 | + simplifiable-if-statement, |
| 42 | + syntax-error, |
| 43 | + too-many-function-args, |
| 44 | + trailing-whitespace, |
| 45 | + # Disabling until https://github.com/PyCQA/pylint/issues/3791 is fixed |
| 46 | + # undefined-variable, |
| 47 | + unexpected-keyword-arg, |
| 48 | + unhashable-dict-key, |
| 49 | + unnecessary-pass, |
| 50 | + unreachable, |
| 51 | + unrecognized-inline-option, |
| 52 | + unused-import, |
| 53 | + unnecessary-semicolon, |
| 54 | + unused-variable, |
| 55 | + unused-wildcard-import, |
| 56 | + wildcard-import, |
| 57 | + wrong-import-order, |
| 58 | + wrong-import-position, |
| 59 | + yield-outside-function |
| 60 | + |
| 61 | +# Ignore long lines containing urls or pylint directives. |
| 62 | +ignore-long-lines=^(.*#\w*pylint: disable.*|\s*(# )?<?https?://\S+>?)$ |
| 63 | + |
| 64 | +[TYPECHECK] |
| 65 | + |
| 66 | +# List of members which are set dynamically and missed by pylint inference |
| 67 | +# system, and so shouldn't trigger E1101 when accessed. Python regular |
| 68 | +# expressions are accepted. |
| 69 | +generated-members=numpy.* |
| 70 | + |
| 71 | + |
| 72 | +[IMPORTS] |
| 73 | + |
| 74 | +# Force import order to recognize a module as part of a third party library. |
| 75 | +known-third-party=cirq,cirq_google,cirq_aqt,cirq_ionq |
0 commit comments