Skip to content

Commit

Permalink
fix: fixing self imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Dec 9, 2023
1 parent 68ae42b commit bb70197
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ messages_control.disable = [
"line-too-long",
"missing-module-docstring",
"wrong-import-position",
"cyclic-import",
]


Expand Down
6 changes: 5 additions & 1 deletion src/antarctic_plots/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/antarctic_plots/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb70197

Please sign in to comment.