Skip to content

Commit

Permalink
pylint fix, hopefuly - kamangir/bolt#746
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Jul 21, 2024
1 parent e2d3252 commit f6024e7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion blue_geo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

DESCRIPTION = f"{ICON} AI for precise geospatial data analysis and visualization."

VERSION = "4.104.1"
VERSION = "4.105.1"

REPO_NAME = "blue-geo"

Expand Down
6 changes: 4 additions & 2 deletions blue_geo/datacube/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import argparse
from blue_geo import VERSION
from blue_geo.datacube.catalogs import list_of
from blue_geo.datacube.catalogs import list_of_datacube_classes
from blue_geo import env
from blue_geo.datacube.catalogs import catalog_of
from blue_geo.datacube import NAME
Expand Down Expand Up @@ -56,7 +56,9 @@
print(output)
elif args.task == "list_of_catalogs":
success = True
output = list_of
output = list(
{datacube_class.catalog for datacube_class in list_of_datacube_classes}
)

if args.log:
logger.info(f"{len(output):,} catalog(s): {delim.join(output)}")
Expand Down
4 changes: 0 additions & 4 deletions blue_geo/datacube/catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
FirmsAreaDatacube,
]

list_of = list(
set([datacube_class.catalog for datacube_class in list_of_datacube_classes])
)


def catalog_of(datacube_id: str) -> Tuple[bool, str]:
for datacube_class in list_of_datacube_classes:
Expand Down
1 change: 0 additions & 1 deletion blue_geo/datacube/query.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import argparse
from blue_geo import VERSION
from abcli.plugins.metadata import get_from_object
from blue_geo.datacube.catalogs import list_of
from blue_geo.ukraine_timemap import NAME
from blue_geo.logger import logger
from blueness.argparse.generic import sys_exit
Expand Down

0 comments on commit f6024e7

Please sign in to comment.