From fc23995e1c419fa60a1221a4990614a4a7d09449 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Thu, 22 Sep 2022 21:43:03 +0800 Subject: [PATCH] ignore E722 --- pipelines/test_codestyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelines/test_codestyle.py b/pipelines/test_codestyle.py index 76c3fa6..c99de83 100644 --- a/pipelines/test_codestyle.py +++ b/pipelines/test_codestyle.py @@ -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: -- GitLab