diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-10-07 02:44:34 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-10-07 02:44:34 -0700 |
commit | 786d9209ab1fb3ade9ab24303f0038e5760fb260 (patch) | |
tree | 1fd94de199996878298ea93eaa3b1f3b55515a1e | |
parent | 4a7a1ef80f85b1abe155b5d4995a54ab171a9be7 (diff) | |
download | isort-786d9209ab1fb3ade9ab24303f0038e5760fb260.tar.gz |
Add isortcfgs for namespace examples
6 files changed, 10 insertions, 2 deletions
diff --git a/tests/unit/example_projects/namespaces/implicit/.isort.cfg b/tests/unit/example_projects/namespaces/implicit/.isort.cfg index e69de29b..d3ae4c35 100644 --- a/tests/unit/example_projects/namespaces/implicit/.isort.cfg +++ b/tests/unit/example_projects/namespaces/implicit/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +src_paths=root diff --git a/tests/unit/example_projects/namespaces/none/.isort.cfg b/tests/unit/example_projects/namespaces/none/.isort.cfg index e69de29b..d3ae4c35 100644 --- a/tests/unit/example_projects/namespaces/none/.isort.cfg +++ b/tests/unit/example_projects/namespaces/none/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +src_paths=root diff --git a/tests/unit/example_projects/namespaces/pkg_resource/.isort.cfg b/tests/unit/example_projects/namespaces/pkg_resource/.isort.cfg index e69de29b..d3ae4c35 100644 --- a/tests/unit/example_projects/namespaces/pkg_resource/.isort.cfg +++ b/tests/unit/example_projects/namespaces/pkg_resource/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +src_paths=root diff --git a/tests/unit/example_projects/namespaces/pkg_resource/root/__init__.py b/tests/unit/example_projects/namespaces/pkg_resource/root/__init__.py index de40ea7c..5284146e 100644 --- a/tests/unit/example_projects/namespaces/pkg_resource/root/__init__.py +++ b/tests/unit/example_projects/namespaces/pkg_resource/root/__init__.py @@ -1 +1 @@ -__import__('pkg_resources').declare_namespace(__name__) +__import__("pkg_resources").declare_namespace(__name__) diff --git a/tests/unit/example_projects/namespaces/pkgutil/.isort.cfg b/tests/unit/example_projects/namespaces/pkgutil/.isort.cfg index e69de29b..d3ae4c35 100644 --- a/tests/unit/example_projects/namespaces/pkgutil/.isort.cfg +++ b/tests/unit/example_projects/namespaces/pkgutil/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +src_paths=root diff --git a/tests/unit/example_projects/namespaces/pkgutil/root/__init__.py b/tests/unit/example_projects/namespaces/pkgutil/root/__init__.py index 69e3be50..8db66d3d 100644 --- a/tests/unit/example_projects/namespaces/pkgutil/root/__init__.py +++ b/tests/unit/example_projects/namespaces/pkgutil/root/__init__.py @@ -1 +1 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__("pkgutil").extend_path(__path__, __name__) |