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 29, 2024
1 parent 40476eb commit 393194f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions xpublish/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Publish a Xarray Dataset through a rest API."""

try:
import importlib.metadata as importlib_metadata
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions xpublish/dependencies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Helper functions to use a FastAPI dependencies."""

from typing import (
TYPE_CHECKING,
Dict,
Expand Down
1 change: 1 addition & 0 deletions xpublish/plugins/included/module_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Version information router."""

import importlib
import sys
from typing import Sequence
Expand Down
1 change: 1 addition & 0 deletions xpublish/plugins/included/plugin_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Plugin information router."""

import importlib
from typing import Dict, Optional, Sequence

Expand Down
1 change: 1 addition & 0 deletions xpublish/plugins/manage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Load and configure Xpublish plugins from entry point group `xpublish.plugin`."""

from importlib.metadata import entry_points
from typing import Dict, Iterable, Optional, Type

Expand Down
1 change: 1 addition & 0 deletions xpublish/routers/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Dataset-independent API routes."""

from fastapi import APIRouter, Depends

from ..dependencies import get_dataset_ids
Expand Down
1 change: 1 addition & 0 deletions xpublish/utils/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions for printing version information, adapted from xarray/util/print_versions.py."""

import locale
import os
import platform
Expand Down

0 comments on commit 393194f

Please sign in to comment.