]> granicus.if.org Git - graphviz/commitdiff
disable a wrong-import-position Pylint warning around run_c
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Jul 2021 00:22:38 +0000 (17:22 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 30 Jul 2021 04:33:23 +0000 (21:33 -0700)
This import has to come out of order because it only works due to prior sys.path
tweaks.

rtest/test_itos.py

index 55ca603d5c9b79ae6ae992504e8f031657520e7d..7e47bee797b8d7ee14ec78acf069bad2fdfcf7b9 100644 (file)
@@ -5,7 +5,7 @@ from pathlib import Path
 import sys
 
 sys.path.append(os.path.dirname(__file__))
-from gvtest import run_c
+from gvtest import run_c # pylint: disable=wrong-import-position
 
 def test_itos():
   """run the itos unit tests"""