Commit fc23995e authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

ignore E722

parent 8b0d510a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ class TestCodeFormat(unittest.TestCase):
    def test_codestyle_conformance(self):
        """Test that we conform to PEP-8."""
        style = pycodestyle.StyleGuide(
            quiet=True, ignore=["E121", "E123", "E126", "E226", "E24", "E704", "W503", "W504", "E501"])
            quiet=True, ignore=["E121", "E123", "E126", "E226", "E24", "E704", "W503", "W504", "E501", "E722"])
        result = style.check_files(glob.glob("./**/*.py"))
        print("================ pycodestyle statistics ================")
        if result.total_errors == 0: