graphite-project / carbon

Consider using identity comparison with singleton PTC-W0068
Bug risk
Major
10 months ago10 months old
Comparison to singleton False should be expr is False
18_globals = globals()
19_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
20_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'carbon_pb2', _globals)
21if _descriptor._USE_C_DESCRIPTORS == False:22
23  DESCRIPTOR._options = None
24  _globals['_POINT']._serialized_start=24