Module Expr Str Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Return Expr Yield Call NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Str NameLoad Return TupleLoad NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad SubscriptLoad NameLoad Slice NameLoad orelse Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore ListLoad Str If BoolOpAnd Call AttributeLoad NameLoad attr Str CompareNotIn NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad If NameLoad body If CompareNotIn NameLoad NameLoad body Assign NameStore Str Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Yield TupleLoad NameLoad BinOpMod NameLoad Dict Str Str Str NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad Str Str Str If CompareNotIn NameLoad NameLoad body For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareNotEq NameLoad Num CompareNotIn NameLoad NameLoad body Expr Yield TupleLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Str body Return If CompareEq NameLoad Str body Return If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Lambda arguments args NameParam NameParam NameParam defaults BoolOpAnd CompareLt BinOpAdd NameLoad Num Call NameLoad NameLoad CompareEqEqEq NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body If CompareEq NameLoad Str body Assign NameStore NameLoad If CompareEq NameLoad Str body AugAssignAdd NameStore Num orelse If NameLoad body If Call NameLoad NameLoad NameLoad Str body AugAssignAdd NameStore Num Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Break orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Break orelse If CompareEq NameLoad Str body If Call NameLoad NameLoad NameLoad Str body Assign NameStore NameLoad AugAssignAdd NameStore Num Continue Assign NameStore NameLoad AugAssignAdd NameStore Num If NameLoad body Expr Yield TupleLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Num Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Return Assign NameStore Str Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body If CompareEq NameLoad AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num If CompareEq Call NameLoad NameLoad Num body Expr Yield TupleLoad Num Str If CompareNotEq NameLoad Str body Assign NameStore Str orelse If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue orelse Assign NameStore NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Str If CompareNotIn NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Return TupleLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Str CompareEq NameLoad Str body Return If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr Str CompareEq NameLoad Str body Return If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list
N/A N/A 
Guidelines for writing new hacking checks

 - Use only for Rally specific tests. OpenStack general tests
   should be submitted to the common 'hacking' module.
 - Pick numbers in the range N3xx. Find the current test with
   the highest allocated number and then pick the next value.
 - Keep the test method code in the source file ordered based
   on the N3xx value.
 - List the new rule in the top level HACKING.rst file
 - Add test cases for each new rule to tests/unit/test_hacking.py

 N/A functools N/A re N/A tokenize N/A re_assert_true_instance N/A N/A re compile (.)*assertTrue\(isinstance\((\w|\.|\'|\"|\[|\])+, (\w|\.|\'|\"|\[|\])+\)\) N/A re_assert_equal_type N/A N/A re compile (.)*assertEqual\(type\((\w|\.|\'|\"|\[|\])+\), (\w|\.|\'|\"|\[|\])+\) N/A re_assert_equal_end_with_none N/A N/A re compile assertEqual\(.*?,\s+None\)$ N/A re_assert_equal_start_with_none N/A N/A re compile assertEqual\(None, N/A re_assert_true_false_with_in_or_not_in N/A N/A re compile assert(True|False)\((\w|[][.'\"])+( not)? in (\w|[][.'\",])+(, .*)?\) N/A re_assert_true_false_with_in_or_not_in_spaces N/A N/A re compile assert(True|False)\((\w|[][.'\"])+( not)? in [\[|'|\"](\w|[][.'\", ])+[\[|'|\"](, .*)?\) N/A re_assert_equal_in_end_with_true_or_false N/A N/A re compile assertEqual\((\w|[][.'\"])+( not)? in (\w|[][.'\", ])+, (True|False)\) N/A re_assert_equal_in_start_with_true_or_false N/A N/A re compile assertEqual\((True|False), (\w|[][.'\"])+( not)? in (\w|[][.'\", ])+\) N/A re_no_construct_dict N/A N/A re compile \sdict\(\) N/A re_no_construct_list N/A N/A re compile \slist\(\) N/A re_str_format N/A N/A re compile 
%            # start of specifier
\(([^)]+)\)  # mapping key, in group 1
[#0 +\-]?    # optional conversion flag
(?:-?\d*)?   # optional minimum field width
(?:\.\d*)?   # optional precision
[hLl]?       # optional length modifier
[A-z%]       # conversion modifier
 N/A re X N/A re_raises N/A N/A re compile \s:raise[^s] *.*$|\s:raises *:.*$|\s:raises *[^:]+$ N/A re_db_import N/A N/A re compile ^from rally.common import db N/A re_objects_import N/A N/A re compile ^from rally.common import objects N/A re_old_type_class N/A N/A re compile ^\s*class \w+(\(\))?: N/A re_datetime_alias N/A N/A re compile ^(from|import) datetime(?!\s+as\s+dt$) skip_ignored_lines N/A N/A func N/A N/A wrapper N/A N/A logical_line physical_line filename N/A N/A N/A line N/A N/A physical_line strip N/A N/A N/A line N/A N/A line startswith # N/A N/A line endswith # noqa N/A N/A N/A N/A N/A next N/A func logical_line physical_line filename N/A N/A N/A functools wraps func N/A wrapper N/A _parse_assert_mock_str N/A N/A line N/A N/A N/A point N/A N/A line find .assert_ N/A N/A point -1 N/A N/A point N/A N/A line find .called_once_with( N/A N/A point -1 N/A N/A end_pos N/A N/A N/A N/A line N/A point find ( point N/A N/A point N/A line N/A N/A point 1 end_pos N/A line N/A point N/A N/A N/A None None None N/A check_assert_methods_from_mock N/A N/A logical_line physical_line filename N/A N/A N/A Ensure that ``assert_*`` methods from ``mock`` library is used correctly

    N301 - base error number
    N302 - related to nonexistent "assert_called"
    N303 - related to nonexistent "assert_called_once"
    N304 - related to nonexistent "called_once_with"
     N/A correct_names N/A assert_any_call assert_called_once_with assert_called_with assert_has_calls assert_not_called N/A ignored_files N/A ./tests/unit/test_hacking.py N/A N/A N/A N/A filename startswith ./tests N/A filename ignored_files N/A N/A N/A pos method_name obj_name N/A _parse_assert_mock_str logical_line N/A pos N/A N/A N/A method_name correct_names N/A N/A error_number N301 N/A msg %(error_number)s:'%(method)s' is not present in `mock` library. %(custom_msg)s For more details, visit http://www.voidspace.org.uk/python/mock/ . N/A N/A method_name assert_called N/A N/A error_number N302 N/A custom_msg N/A Maybe, you should try to use 'assertTrue(%s.called)' instead. obj_name N/A N/A N/A method_name assert_called_once N/A N/A error_number N303 N/A custom_msg N/A Maybe, you should try to use 'assertEqual(1, %s.call_count)' or '%s.assert_called_once_with()' instead. N/A obj_name obj_name N/A N/A N/A method_name called_once_with N/A N/A error_number N304 N/A custom_msg N/A Maybe, you should try to use '%s.assert_called_once_with()' instead. obj_name N/A N/A custom_msg N/A Correct 'assert_*' methods: '%s'. N/A N/A ', ' join correct_names N/A N/A N/A pos N/A msg N/A error_number method custom_msg error_number method_name custom_msg N/A skip_ignored_lines check_import_of_logging N/A N/A logical_line physical_line filename N/A N/A N/A Check correctness import of logging module

    N310
     N/A excluded_files N/A ./rally/common/logging.py ./tests/unit/test_logging.py ./tests/ci/rally_verify.py N/A forbidden_imports N/A from oslo_log import oslo_log import logging N/A N/A filename excluded_files N/A N/A forbidden_import forbidden_imports N/A N/A N/A N/A logical_line startswith forbidden_import N/A N/A N/A N/A 0 N310 Wrong module for logging is imported. Please use `rally.common.logging` instead. N/A skip_ignored_lines no_translate_debug_logs N/A N/A logical_line physical_line filename N/A N/A N/A Check for "LOG.debug(_("

    As per our translation policy,
    https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation
    we shouldn't translate debug level logs.

    * This check assumes that 'LOG' is a logger.
    * Use filename so we can start enforcing this in specific folders instead
      of needing to do so all at once.

    N311
     N/A N/A N/A logical_line startswith LOG.debug(_( N/A N/A N/A N/A 0 N311 Don't translate debug level logs N/A skip_ignored_lines no_use_conf_debug_check N/A N/A logical_line physical_line filename N/A N/A N/A Check for "cfg.CONF.debug"

    Rally has two DEBUG level:
     - Full DEBUG, which include all debug-messages from all OpenStack services
     - Rally DEBUG, which include only Rally debug-messages
    so we should use custom check to know debug-mode, instead of CONF.debug

    N312
     N/A excluded_files N/A ./rally/common/logging.py N/A point N/A N/A logical_line find CONF.debug N/A N/A N/A point -1 N/A filename excluded_files N/A N/A N/A N/A point N312 Don't use `CONF.debug`. Function `rally.common.logging.is_debug` should be used instead. N/A skip_ignored_lines assert_true_instance N/A N/A logical_line physical_line filename N/A N/A N/A Check for assertTrue(isinstance(a, b)) sentences

    N320
     N/A N/A N/A re_assert_true_instance match logical_line N/A N/A N/A N/A 0 N320 assertTrue(isinstance(a, b)) sentences not allowed, you should use assertIsInstance(a, b) instead. N/A skip_ignored_lines assert_equal_type N/A N/A logical_line physical_line filename N/A N/A N/A Check for assertEqual(type(A), B) sentences

    N321
     N/A N/A N/A re_assert_equal_type match logical_line N/A N/A N/A N/A 0 N321 assertEqual(type(A), B) sentences not allowed, you should use assertIsInstance(a, b) instead. N/A skip_ignored_lines assert_equal_none N/A N/A logical_line physical_line filename N/A N/A N/A Check for assertEqual(A, None) or assertEqual(None, A) sentences

    N322
     N/A res N/A N/A N/A re_assert_equal_start_with_none search logical_line N/A N/A re_assert_equal_end_with_none search logical_line N/A res N/A N/A N/A N/A 0 N322 assertEqual(A, None) or assertEqual(None, A) sentences not allowed, you should use assertIsNone(A) instead. N/A skip_ignored_lines assert_true_or_false_with_in N/A N/A logical_line physical_line filename N/A N/A N/A Check assertTrue/False(A in/not in B) with collection contents

    Check for assertTrue/False(A in B), assertTrue/False(A not in B),
    assertTrue/False(A in B, message) or assertTrue/False(A not in B, message)
    sentences.

    N323
     N/A res N/A N/A N/A re_assert_true_false_with_in_or_not_in search logical_line N/A N/A re_assert_true_false_with_in_or_not_in_spaces search logical_line N/A res N/A N/A N/A N/A 0 N323 assertTrue/assertFalse(A in/not in B)sentences not allowed, you should use assertIn(A, B) or assertNotIn(A, B) instead. N/A skip_ignored_lines assert_equal_in N/A N/A logical_line physical_line filename N/A N/A N/A Check assertEqual(A in/not in B, True/False) with collection contents

    Check for assertEqual(A in B, True/False), assertEqual(True/False, A in B),
    assertEqual(A not in B, True/False) or assertEqual(True/False, A not in B)
    sentences.

    N324
     N/A res N/A N/A N/A re_assert_equal_in_end_with_true_or_false search logical_line N/A N/A re_assert_equal_in_start_with_true_or_false search logical_line N/A res N/A N/A N/A N/A 0 N324: Use assertIn/NotIn(A, B) rather than assertEqual(A in/not in B, True/False) when checking collection contents. N/A skip_ignored_lines check_no_direct_rally_objects_import N/A N/A logical_line physical_line filename N/A N/A N/A Check if rally.common.objects are properly imported.

    If you import "from rally.common import objects" you are able to use
    objects directly like objects.Task.

    N340
     N/A N/A filename ./rally/common/objects/__init__.py N/A N/A N/A N/A filename ./rally/common/objects/endpoint.py N/A N/A N/A N/A N/A N/A logical_line startswith from rally.common.objects N/A N/A logical_line startswith import rally.common.objects. N/A N/A N/A N/A 0 N340: Import objects module:`from rally.common import objects`. After that you can use directly objects e.g. objects.Task N/A skip_ignored_lines check_no_oslo_deprecated_import N/A N/A logical_line physical_line filename N/A N/A N/A Check if oslo.foo packages are not imported instead of oslo_foo ones.

    Libraries from oslo.foo namespace are deprecated because of namespace
    problems.

    N341
     N/A N/A N/A N/A logical_line startswith from oslo. N/A N/A logical_line startswith import oslo. N/A N/A N/A N/A 0 N341: Import oslo module: `from oslo_xyz import ...`. The oslo.xyz namespace was deprecated, use oslo_xyz instead N/A skip_ignored_lines check_quotes N/A N/A logical_line physical_line filename N/A N/A N/A Check that single quotation marks are not used

    N350
     N/A in_string False N/A in_multiline_string False N/A single_quotas_are_used False N/A check_tripple N/A N/A N/A line i char N/A N/A N/A N/A i 2 N/A len line N/A char N/A line N/A i N/A line N/A N/A i 1 N/A line N/A N/A i 2 N/A i 0 N/A N/A i N/A len logical_line N/A N/A char N/A logical_line N/A i N/A in_string N/A N/A N/A char " N/A N/A in_string False N/A N/A char \ N/A N/A i 1 N/A N/A in_multiline_string N/A N/A N/A check_tripple logical_line i " N/A N/A i 2 N/A in_multiline_string False N/A N/A N/A char # N/A N/A N/A N/A N/A char ' N/A N/A single_quotas_are_used True N/A N/A N/A N/A char " N/A N/A N/A check_tripple logical_line i " N/A N/A in_multiline_string True N/A i 3 N/A N/A in_string True N/A i 1 N/A single_quotas_are_used N/A N/A N/A N/A i N350 Remove Single quotes N/A skip_ignored_lines check_no_constructor_data_struct N/A N/A logical_line physical_line filename N/A N/A N/A Check that data structs (lists, dicts) are declared using literals

    N351
     N/A match N/A N/A re_no_construct_dict search logical_line N/A match N/A N/A N/A N/A 0 N351 Remove dict() construct and use literal {} N/A match N/A N/A re_no_construct_list search logical_line N/A match N/A N/A N/A N/A 0 N351 Remove list() construct and use literal [] N/A skip_ignored_lines check_dict_formatting_in_string N/A N/A logical_line tokens N/A N/A N/A Check that strings do not use dict-formatting with a single replacement

    N352
     N/A N/A N/A logical_line N/A N/A logical_line startswith # N/A N/A logical_line endswith # noqa N/A N/A N/A current_string N/A in_string False N/A N/A token_type text start end line tokens N/A N/A N/A token_type N/A tokenize STRING N/A N/A N/A in_string N/A N/A current_string N/A in_string True N/A current_string N/A N/A text strip " N/A N/A N/A token_type N/A tokenize OP N/A N/A N/A current_string N/A N/A N/A in_string False N/A N/A text % N/A N/A format_keys N/A set N/A match N/A N/A re_str_format finditer current_string N/A N/A N/A N/A format_keys add N/A N/A match group 1 N/A N/A N/A len format_keys 1 N/A N/A N/A N/A 0 N353 Do not use mapping key string formatting with a single key N/A N/A text ) N/A N/A current_string N/A N/A N/A token_type N/A N/A tokenize NL N/A tokenize COMMENT N/A N/A N/A N/A in_string False N/A N/A token_type N/A tokenize NEWLINE N/A N/A current_string N/A check_using_unicode N/A N/A logical_line physical_line filename N/A N/A N/A Check crosspython unicode usage

    N353
     N/A N/A N/A re search \bunicode\( logical_line N/A N/A N/A N/A 0 N353 'unicode' function is absent in python3. Please use 'six.text_type' instead. N/A skip_ignored_lines check_raises N/A N/A physical_line filename N/A N/A N/A Check raises usage

    N354
     N/A ignored_files N/A ./tests/unit/test_hacking.py ./tests/hacking/checks.py N/A N/A filename ignored_files N/A N/A N/A N/A re_raises search physical_line N/A N/A N/A 0 N354 ':Please use ':raises Exception: conditions' in docstrings. N/A check_old_type_class N/A N/A logical_line physical_line filename N/A N/A N/A Use new-style Python classes

    N355
     N/A N/A N/A re_old_type_class search logical_line N/A N/A N/A N/A 0 N355 This class does not inherit from anything and thus will be an old-style class by default. Try to inherit from ``object`` or another new-style class. N/A skip_ignored_lines check_datetime_alias N/A N/A logical_line physical_line filename N/A N/A N/A Ensure using ``dt`` as alias for ``datetime``

    N356
     N/A N/A N/A re_datetime_alias search logical_line N/A N/A N/A N/A 0 N356 Please use ``dt`` as alias for ``datetime``. N/A skip_ignored_lines check_db_imports_in_cli N/A N/A logical_line physical_line filename N/A N/A N/A Ensure that CLI modules do not use ``rally.common.db``

    N360
     N/A N/A N/A N/A N/A filename startswith ./rally/cli N/A filename ./rally/cli/manage.py N/A N/A N/A N/A N/A re_db_import search logical_line N/A N/A N/A N/A 0 N360 CLI modules do not allow to work with `rally.common.db``. N/A skip_ignored_lines check_objects_imports_in_cli N/A N/A logical_line physical_line filename N/A N/A N/A Ensure that CLI modules do not use ``rally.common.objects``

    N361
     N/A N/A N/A N/A N/A filename startswith ./rally/cli N/A filename ./rally/cli/commands/show.py N/A N/A N/A N/A N/A re_objects_import search logical_line N/A N/A N/A N/A 0 N361 CLI modules do not allow to work with `rally.common.objects``. N/A skip_ignored_lines factory N/A N/A register N/A N/A N/A N/A register check_assert_methods_from_mock N/A N/A register check_import_of_logging N/A N/A register no_translate_debug_logs N/A N/A register no_use_conf_debug_check N/A N/A register assert_true_instance N/A N/A register assert_equal_type N/A N/A register assert_equal_none N/A N/A register assert_true_or_false_with_in N/A N/A register assert_equal_in N/A N/A register check_no_direct_rally_objects_import N/A N/A register check_no_oslo_deprecated_import N/A N/A register check_quotes N/A N/A register check_no_constructor_data_struct N/A N/A register check_dict_formatting_in_string N/A N/A register check_using_unicode N/A N/A register check_raises N/A N/A register check_datetime_alias N/A N/A register check_db_imports_in_cli N/A N/A register check_objects_imports_in_cli N/A N/A register check_old_type_class N/A