def factory(register): checks.factory(register) register(check_opendaylight_lowercase) register(check_opendaylight_lowercase_comment) register(check_opendaylight_lowercase_string) register(check_opendaylight_lowercase_docstring) register(check_config_over_set_override)
def factory(register): checks.factory(register) register(check_opendaylight_lowercase) register(check_opendaylight_lowercase_comment) register(check_opendaylight_lowercase_string) register(check_opendaylight_lowercase_docstring) register(check_config_over_set_override) register(check_config_over_direct_override) register(check_redundant_import_alias)
def factory(register): checks.factory(register) register(check_assert_called_once_with) register(check_asserttruefalse) register(check_assertempty) register(check_assertisinstance) register(check_assertequal_for_httpcode) register(check_oslo_i18n_wrapper) register(check_builtins_gettext) register(check_no_imports_from_tests) register(check_python3_no_filter) register(check_no_sqlalchemy_event_import)
def factory(register): checks.factory(register) register(check_assert_called_once_with) register(check_asserttruefalse) register(check_assertempty) register(check_assertisinstance) register(check_assertequal_for_httpcode) register(check_oslo_i18n_wrapper) register(check_builtins_gettext) register(check_unittest_imports) register(check_no_imports_from_tests) register(check_python3_no_filter) register(check_no_sqlalchemy_event_import)
def factory(register): register(no_log_warn) register(no_os_popen) checks.factory(register)
def factory(register): checks.factory(register) register(check_opendaylight_lowercase) register(check_opendaylight_lowercase_comment) register(check_opendaylight_lowercase_string) register(check_opendaylight_lowercase_docstring)
def test_factory(self): def check_callable(fn): self.assertTrue(hasattr(fn, '__call__')) self.assertIsNone(checks.factory(check_callable))