]> granicus.if.org Git - graphviz/commitdiff
fix a numbe of Pylint import-order warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 17:12:38 +0000 (10:12 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 1 May 2021 00:35:16 +0000 (17:35 -0700)
ci/tests.py
rtest/test_examples.py
rtest/test_regression.py
rtest/test_tools.py
tests/reference/test_reference.py
tests/regression_tests/installation/test_installation.py
tests/regression_tests/large/test_large_graphs.py
tests/regression_tests/shapes/shapes.py
tests/regression_tests/shapes/test_shapes.py

index 4dcec26bb4c3a22ba04a893e296e2762946cbb00..9fcc6a228586651beaf7c099fb8419b96a298ac2 100644 (file)
@@ -4,10 +4,10 @@
 test cases that are only relevant to run in CI
 """
 
+import os
 import platform
-import pytest
 import shutil
-import os
+import pytest
 
 @pytest.mark.parametrize("binary", [
   "acyclic",
index 0ec4bdbf79eef5ff09d529ce9e2e95c0f55dd26a..369c7249b60be79640c4b2fd3726706d89f737f7 100644 (file)
@@ -3,10 +3,10 @@
 import os
 from pathlib import Path
 import platform
-import pytest
 import shutil
 import subprocess
 import sys
+import pytest
 
 sys.path.append(os.path.dirname(__file__))
 from gvtest import run_c
index b7826a7643b62afbd974cf385e7bb022ced44680..eda75c8df34e9d0f707d31cc24777bfff1de48ec 100644 (file)
@@ -1,14 +1,14 @@
+import os
 from pathlib import Path
-import pytest
 import platform
+import re
 import shutil
 import signal
+import stat
 import subprocess
-import os
-import re
 import sys
-import stat
 import tempfile
+import pytest
 
 sys.path.append(os.path.dirname(__file__))
 from gvtest import run_c
index fff0ffdde04a4b9321719892ce11b038ef13df7c..61fd0266488b2cf20ceb5cda0ce660df232294e2 100644 (file)
@@ -1,10 +1,9 @@
 import os
 import platform
-import pytest
 import re
 import shutil
 import subprocess
-import shutil
+import pytest
 
 @pytest.mark.parametrize("tool", [
     "acyclic",
index d77d52c778324790252fbeb9e9c79423fd861947..26c5bdd95936214380b7c3da9188b79885b6b88c 100644 (file)
@@ -1,7 +1,7 @@
 from pathlib import Path
-import pytest
 import subprocess
 import tempfile
+import pytest
 
 @pytest.mark.xfail
 @pytest.mark.parametrize('src,format,reference', (
index a3eef7f4642fa647ebb6f989e7e6bc10f7a01c3e..ec35ba78438331901187d69bba2de7afd5e980b2 100644 (file)
@@ -1,7 +1,7 @@
-import pytest
-import subprocess
 import os
 from pathlib import Path
+import subprocess
+import pytest
 
 def test_installation():
   expected_version = os.environ.get("GV_VERSION")
index ae42c30da6d37125a5c40db518d15c52e3ec5eb7..7c5b3a1a6ef98bbbccde72d1e79adf3b882fce95 100644 (file)
@@ -1,9 +1,7 @@
-import pytest\r
-\r
-import subprocess\r
 import os\r
 import platform\r
-\r
+import subprocess\r
+import pytest\r
 \r
 class TestLargeGraphs():\r
        @pytest.mark.skipif(platform.system() == "Windows" and\r
index 43cf8cd458ce611e1f51f40e64537651761a07a4..13c1d97f6d321c2aadd0446a41262e9cf911df78 100644 (file)
@@ -1,6 +1,6 @@
+from pathlib import Path
 from subprocess import Popen, PIPE
 import sys
-from pathlib import Path
 
 # Import helper function to compare graphs from tests/regressions_tests
 sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
index 9e235c880a2bf4a5b09e2780e268b17fe2326921..72b78d1286769c83f1bd726c19afdc2174287f9e 100644 (file)
@@ -1,8 +1,7 @@
-import pytest
-
 from subprocess import Popen, PIPE
 import os.path, sys
 from pathlib import Path
+import pytest
 
 # Import helper function to compare graphs from tests/regressions_tests
 sys.path.insert(0, str(Path(__file__).resolve().parent.parent))