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] authored and omad committed Feb 11, 2025
1 parent 6aec6c2 commit fb9c5e0
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 26 deletions.
3 changes: 1 addition & 2 deletions apps/dc_tools/odc/apps/dc_tools/index_from_tar.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Index datasets from tar arachive
"""
"""Index datasets from tar arachive"""

import click
import sys
Expand Down
3 changes: 1 addition & 2 deletions apps/dc_tools/odc/apps/dc_tools/sqs_to_dc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Index datasets found from an SQS queue into Postgres
"""
"""Index datasets found from an SQS queue into Postgres"""
import boto3
import click
import json
Expand Down
3 changes: 1 addition & 2 deletions apps/dc_tools/odc/apps/dc_tools/stac_api_to_dc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Index datasets found from an SQS queue into Postgres
"""
"""Index datasets found from an SQS queue into Postgres"""
import concurrent
import json
import logging
Expand Down
3 changes: 1 addition & 2 deletions libs/cloud/odc/aws/dns.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Tools for interacting with route53
"""
"""Tools for interacting with route53"""

import sys

Expand Down
3 changes: 1 addition & 2 deletions libs/cloud/odc/ppt.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Parallel Processing Tools
"""
"""Parallel Processing Tools"""

import asyncio
import logging
Expand Down
3 changes: 1 addition & 2 deletions libs/cloud/odc/thredds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Thredds crawling and YAML fetching utilities
"""
"""Thredds crawling and YAML fetching utilities"""

from multiprocessing.dummy import Pool as ThreadPool

Expand Down
3 changes: 1 addition & 2 deletions libs/cloud/tests/test_azure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test thredds downloader code
"""
"""Test thredds downloader code"""

import pytest
from odc.azure import download_yamls, find_blobs
Expand Down
3 changes: 1 addition & 2 deletions libs/cloud/tests/test_thredds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test thredds downloader code
"""
"""Test thredds downloader code"""

import pytest
from odc.thredds import download_yamls, thredds_find_glob
Expand Down
3 changes: 1 addition & 2 deletions libs/io/odc/io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Various file io helpers
"""
"""Various file io helpers"""

from .tar import tar_doc_stream # pylint: disable=W0406
from .text import (
Expand Down
3 changes: 1 addition & 2 deletions libs/ui/odc/ui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Notebook display helper methods.
"""
"""Notebook display helper methods."""

from ._dc_explore import (
DcViewer,
Expand Down
3 changes: 1 addition & 2 deletions libs/ui/odc/ui/_images.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Notebook display helper methods.
"""
"""Notebook display helper methods."""

import numpy as np
import rasterio
Expand Down
3 changes: 1 addition & 2 deletions libs/ui/odc/ui/_map.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Notebook display helper methods (mapping related).
"""
"""Notebook display helper methods (mapping related)."""

# pylint:disable=import-outside-toplevel

Expand Down
3 changes: 1 addition & 2 deletions libs/ui/odc/ui/_ui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Notebook display helper methods.
"""
"""Notebook display helper methods."""

from IPython.display import display
from ipywidgets import HBox, IntProgress, Label, Layout, VBox
Expand Down

0 comments on commit fb9c5e0

Please sign in to comment.