Loading pipelines/test_codestyle.py +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading Loading
pipelines/test_codestyle.py +1 −1 Original line number Diff line number Diff line Loading @@ -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: Loading