summaryrefslogtreecommitdiff
path: root/networkx/conftest.py
diff options
context:
space:
mode:
authorMridul Seth <seth.mridul@gmail.com>2022-06-02 19:54:09 +0400
committerGitHub <noreply@github.com>2022-06-02 08:54:09 -0700
commit5c0b11afb4c0882a070d522ef3fa41482ba935d3 (patch)
tree1b8f21413afd65617420203cf834a8d15d8282ab /networkx/conftest.py
parent4dba24ba22fc8c4906e16f67b5cf103ee0a830b3 (diff)
downloadnetworkx-5c0b11afb4c0882a070d522ef3fa41482ba935d3.tar.gz
Use isort with pre-commit to enforce import guidelines (#5659)
* Add isort to pre-commit * Run isort on all python files (except __init__.py ones)
Diffstat (limited to 'networkx/conftest.py')
-rw-r--r--networkx/conftest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/networkx/conftest.py b/networkx/conftest.py
index f62e4b37..5541b68b 100644
--- a/networkx/conftest.py
+++ b/networkx/conftest.py
@@ -11,11 +11,13 @@ General guidelines for writing good tests:
and add the module to the relevant entries below.
"""
-import pytest
-import networkx
import sys
import warnings
+import pytest
+
+import networkx
+
def pytest_addoption(parser):
parser.addoption(