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 Sep 19, 2024
1 parent 9440e0b commit adea760
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/test_indicators.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# pylint: disable=unsubscriptable-object,function-redefined
# Tests for the Indicator objects
from __future__ import annotations

import gc
import json
from inspect import signature
Expand Down
2 changes: 1 addition & 1 deletion xclim/core/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"""

from __future__ import annotations

import re
import warnings
import weakref
Expand Down Expand Up @@ -165,7 +166,6 @@
load_module,
)


# Indicators registry
registry = {} # Main class registry
base_registry = {}
Expand Down
2 changes: 1 addition & 1 deletion xclim/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""

from __future__ import annotations

import functools
import importlib.util
import logging
Expand All @@ -23,7 +24,6 @@
from dask import array as dsk
from yaml import safe_dump, safe_load


logger = logging.getLogger("xclim")


Expand Down
1 change: 0 additions & 1 deletion xclim/indicators/atmos/_temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from xclim.core.indicator import Daily, Indicator, ResamplingIndicatorWithIndexing
from xclim.core.utils import InputKind


__all__ = [
"australian_hardiness_zones",
"biologically_effective_degree_days",
Expand Down

0 comments on commit adea760

Please sign in to comment.