-
Notifications
You must be signed in to change notification settings - Fork 231
fix: Update public export declarations from __init__.py files
#1580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,16 +35,14 @@ | |
| from pyproj._context import ( # noqa: F401 pylint: disable=unused-import | ||
| set_use_global_context, | ||
| ) | ||
| from pyproj._show_versions import ( # noqa: F401 pylint: disable=unused-import | ||
| show_versions, | ||
| ) | ||
| from pyproj._show_versions import show_versions | ||
| from pyproj._version import ( # noqa: F401 pylint: disable=unused-import | ||
| PROJ_COMPILED_VERSION, | ||
| PROJ_COMPILED_VERSION_STR, | ||
| PROJ_VERSION, | ||
| PROJ_VERSION_STR, | ||
| ) | ||
| from pyproj.crs import CRS # noqa: F401 pylint: disable=unused-import | ||
| from pyproj.crs import CRS | ||
| from pyproj.database import ( # noqa: F401 pylint: disable=unused-import | ||
| get_authorities, | ||
| get_codes, | ||
|
|
@@ -59,17 +57,9 @@ | |
| geodesic_version_str, | ||
| pj_ellps, | ||
| ) | ||
| from pyproj.list import ( # noqa: F401 pylint: disable=unused-import | ||
| get_ellps_map, | ||
| get_prime_meridians_map, | ||
| get_proj_operations_map, | ||
| ) | ||
| from pyproj.proj import Proj, pj_list # noqa: F401 pylint: disable=unused-import | ||
| from pyproj.transformer import ( # noqa: F401 pylint: disable=unused-import | ||
| Transformer, | ||
| itransform, | ||
| transform, | ||
| ) | ||
| from pyproj.list import get_ellps_map, get_prime_meridians_map, get_proj_operations_map | ||
| from pyproj.proj import Proj, pj_list | ||
| from pyproj.transformer import Transformer, itransform, transform | ||
|
|
||
| __version__ = "3.7.3.dev0" | ||
| __all__ = [ | ||
|
|
@@ -80,7 +70,6 @@ | |
| "get_ellps_map", | ||
| "get_prime_meridians_map", | ||
| "get_proj_operations_map", | ||
| "get_units_map", | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was deprecated as exported from the top-level and is suggested to import from |
||
| "itransform", | ||
| "pj_ellps", | ||
| "pj_list", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| class. | ||
| """ | ||
|
|
||
| from pyproj._crs import ( # noqa: F401 pylint: disable=unused-import | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't need the |
||
| from pyproj._crs import ( | ||
| CoordinateOperation, | ||
| CoordinateSystem, | ||
| Datum, | ||
|
|
@@ -30,10 +30,15 @@ | |
| "CRS", | ||
| "BoundCRS", | ||
| "CompoundCRS", | ||
| "CoordinateOperation", | ||
| "CoordinateSystem", | ||
| "CustomConstructorCRS", | ||
| "Datum", | ||
| "DerivedGeographicCRS", | ||
| "Ellipsoid", | ||
| "GeocentricCRS", | ||
| "GeographicCRS", | ||
| "PrimeMeridian", | ||
|
Comment on lines
+33
to
+41
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All of these newly-added exports were already in the public docs for |
||
| "ProjectedCRS", | ||
| "VerticalCRS", | ||
| "is_proj", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is just removing the unnecessary
noqa: F401because all imports are used