Module Import alias Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Str If Call AttributeLoad NameLoad attr NameLoad body Expr Yield TupleLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list
N/A N/A re N/A 
Guidelines for writing new hacking checks
 - Use only for Horizon specific tests. OpenStack general tests
   should be submitted to the common 'hacking' module.
 - Pick numbers in the range M3xx. Find the current test with
   the highest allocated number and then pick the next value.
   If nova has an N3xx code for that test, use the same number.
 - Keep the test method code in the source file ordered based
   on the M3xx 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 mutable_default_args N/A N/A re compile ^\s*def .+\((.+=\{\}|.+=\[\]) no_mutable_default_args N/A N/A logical_line N/A N/A N/A msg M322: Method's default argument shouldn't be mutable! N/A N/A N/A mutable_default_args match logical_line N/A N/A N/A N/A 0 msg N/A factory N/A N/A register N/A N/A N/A N/A register no_mutable_default_args N/A