diff --git a/pyproject.toml b/pyproject.toml index e38a9347..b67008c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -220,6 +220,7 @@ messages_control.disable = [ "line-too-long", "missing-module-docstring", "wrong-import-position", + "cyclic-import", ] diff --git a/src/antarctic_plots/fetch.py b/src/antarctic_plots/fetch.py index de07ecf6..4baa5bb1 100644 --- a/src/antarctic_plots/fetch.py +++ b/src/antarctic_plots/fetch.py @@ -32,7 +32,11 @@ from pyproj import Transformer # import antarctic_plots.fetch as fetch -from antarctic_plots import fetch, regions, utils # noqa: PLW0406 +from antarctic_plots import ( # pylint: disable=import-self + fetch, # noqa: PLW0406 + regions, + utils, +) # import antarctic_plots.regions as regions # import antarctic_plots.utils as utils diff --git a/src/antarctic_plots/regions.py b/src/antarctic_plots/regions.py index d35dbdad..fdb82622 100644 --- a/src/antarctic_plots/regions.py +++ b/src/antarctic_plots/regions.py @@ -16,7 +16,11 @@ import pandas as pd import verde as vd -from antarctic_plots import maps, regions, utils # noqa: PLW0406 +from antarctic_plots import ( # pylint: disable=import-self + maps, + regions, # noqa: PLW0406 + utils, +) # import antarctic_plots.maps as maps # import antarctic_plots.regions as regions