Commit Graph

18 Commits (5c2fc0b392adb4db2605ba95460cb3910ad94fa1)

Author SHA1 Message Date
yatinkarel 5c2fc0b392 Added hacking check to ensure LOG.warn is not used
7 years ago
huang.huayong 48db85cb69 modify test_assert_is_not_none
7 years ago
Deeksha 4205f39a00 Add hacking check to ensure not use xrange()
7 years ago
Yang Hongyang 6ef50348db Fix misleading M310 unit test outputs
7 years ago
Dinesh Bhor e7be462a24 Fix invalid import order
7 years ago
houming-wang 7b754ae390 WSGI enfore fails should return 403 instead of 500
7 years ago
houming-wang 98875345c2 Performance: leverage dict comprehension in PEP-0274
7 years ago
wangqun 8c7925a018 timeutils.utcnow should be used instead of datetime.datetime.utcnow
7 years ago
Ryan Rossiter 54414cdbb0 Use _assert_has_(no)_errors() in hacking tests
7 years ago
Bertrand Lallau 798c7e35ef Use assertIn and assertNotIn
7 years ago
wangqun 87d6056846 Use assertIsInstance instead of assertTrue(isinstance(a, b))
7 years ago
wangqun 082c8ed0b8 Use assertIsNotNone instead of assertEqual(** is not None)
7 years ago
Bertrand Lallau 2eea193d77 Use assertTrue/False instead of assertEqual(T/F)
7 years ago
Bertrand Lallau e97f70788c Use assertIsNone instead of assertEqual(None, ***)
7 years ago
Tom Cammann bdf880d8fa Fix H405 and E131 ignored pep8 rules
7 years ago
Hongbin Lu 0b9b7de79a Eliminate mutable default arguments
8 years ago
Eli Qiao f67e67ec9a Correct Hacking rule code
8 years ago
Eli Qiao de7da996b5 Add hacking rule framework for magnum
8 years ago