glance.hacking package

Submodules

glance.hacking.checks module

glance.hacking.checks.assert_equal_none(logical_line)[source]

Check for assertEqual(A, None) or assertEqual(None, A) sentences

G318

glance.hacking.checks.assert_equal_type(logical_line)[source]

Check for assertEqual(type(A), B) sentences

G317

glance.hacking.checks.assert_true_instance(logical_line)[source]

Check for assertTrue(isinstance(a, b)) sentences

G316

glance.hacking.checks.check_no_contextlib_nested(logical_line)[source]
glance.hacking.checks.check_python3_no_iteritems(logical_line)[source]
glance.hacking.checks.check_python3_no_iterkeys(logical_line)[source]
glance.hacking.checks.check_python3_no_itervalues(logical_line)[source]
glance.hacking.checks.check_python3_xrange(logical_line)[source]
glance.hacking.checks.dict_constructor_with_list_copy(logical_line)[source]
glance.hacking.checks.factory(register)[source]
glance.hacking.checks.no_direct_use_of_unicode_function(logical_line)[source]

Check for use of unicode() builtin

G320

glance.hacking.checks.no_translate_debug_logs(logical_line, filename)[source]
glance.hacking.checks.validate_log_translations(logical_line, physical_line, filename)[source]

Module contents

Table Of Contents

Previous topic

glance.glare.domain package

Next topic

glance.image_cache package

Project Source

This Page