Commit 70822dae authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

ignore E722 (do not use bare except) in code style unit test

parent ec8ee36a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,6 +17,6 @@ class TestCodeFormat(unittest.TestCase):
            for line in result.get_statistics():
                print(line)
            print("*** Please use the command below to check code yourself!!! ***")
            print("pycodestyle ./**/*.py --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E501")
            print("pycodestyle ./**/*.py --ignore=E121,E123,E126,E226,E24,E704,W503,W504,E501,E722")
        print("========================================================")
        self.assertEqual(result.total_errors, 0, "Found code style errors (and warnings).")