Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2025
1 parent 1395b83 commit 3328dbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion te_algorithms/gdal/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from defusedxml.ElementTree import parse
from osgeo import gdal, ogr, osr

from .util_numba import _accumulate_dicts
from ..common.soc import trans_factors_for_custom_legend

Check failure on line 12 in te_algorithms/gdal/util.py

View workflow job for this annotation

GitHub Actions / build

Ruff (F401)

te_algorithms/gdal/util.py:12:26: F401 `..common.soc.trans_factors_for_custom_legend` imported but unused
from .util_numba import _accumulate_dicts

logger = logging.getLogger(__name__)

Expand Down
12 changes: 8 additions & 4 deletions te_algorithms/gee/productivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,15 @@ def productivity_state(
band_infos,
)


def productivity_faowocat(
low_bio_year, medium_bio_year, high_bio_year, years_interval,
modis_mode, prod_asset, logger
low_bio_year,
medium_bio_year,
high_bio_year,
years_interval,
modis_mode,
prod_asset,
logger,
):
logger.debug("Entering productivity_faowocat function.")

Expand Down Expand Up @@ -631,5 +637,3 @@ def productivity_faowocat(
),
],
)


0 comments on commit 3328dbb

Please sign in to comment.