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 12, 2024
1 parent a6273cb commit 0ca0355
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/dc_tools/odc/apps/dc_tools/_docs.py
@@ -1,4 +1,5 @@
"""These should probably be in datacube library."""

import json
import sys
from typing import Sequence, Union
Expand Down
1 change: 1 addition & 0 deletions apps/dc_tools/odc/apps/dc_tools/_stac.py
@@ -1,6 +1,7 @@
"""
Tools for STAC to EO3 translation
"""

import math
from pathlib import Path
from typing import Any, Dict, Optional, Tuple
Expand Down
1 change: 1 addition & 0 deletions apps/dc_tools/odc/apps/dc_tools/azure_to_dc.py
@@ -1,6 +1,7 @@
"""Crawl Thredds for prefixes and fetch YAML's for indexing
and dump them into a Datacube instance
"""

import json
import logging
import sys
Expand Down
1 change: 1 addition & 0 deletions apps/dc_tools/odc/apps/dc_tools/export_md.py
Expand Up @@ -9,6 +9,7 @@
default: ['3', '4', '5']
swir: ['1', '2']
"""

import click
import logging
import yaml
Expand Down
1 change: 1 addition & 0 deletions apps/dc_tools/odc/apps/dc_tools/thredds_to_dc.py
@@ -1,6 +1,7 @@
"""Crawl Thredds for prefixes and fetch YAML's for indexing
and dump them into a Datacube instance
"""

import click
import logging
from odc.thredds import download_yamls, thredds_find_glob
Expand Down
1 change: 1 addition & 0 deletions apps/dc_tools/tests/test_sqs_to_dc.py
@@ -1,6 +1,7 @@
"""
Test for SQS to DC tool
"""

import boto3
import json
import os
Expand Down
1 change: 1 addition & 0 deletions libs/cloud/odc/aws/__init__.py
@@ -1,6 +1,7 @@
"""
Helper methods for working with AWS
"""

import botocore
import botocore.session
import json
Expand Down
1 change: 1 addition & 0 deletions libs/cloud/odc/aws/dns.py
@@ -1,5 +1,6 @@
""" Tools for interacting with route53
"""

from . import _fetch_text, ec2_tags, mk_boto_session


Expand Down
1 change: 1 addition & 0 deletions libs/cloud/odc/ppt.py
@@ -1,5 +1,6 @@
""" Parallel Processing Tools
"""

import asyncio
import logging
import threading
Expand Down
1 change: 1 addition & 0 deletions libs/cloud/odc/thredds.py
@@ -1,5 +1,6 @@
"""Thredds crawling and YAML fetching utilities
"""

from multiprocessing.dummy import Pool as ThreadPool

import requests
Expand Down
1 change: 1 addition & 0 deletions libs/cloud/tests/test_azure.py
@@ -1,5 +1,6 @@
"""Test thredds downloader code
"""

from odc.azure import download_yamls, find_blobs


Expand Down
1 change: 1 addition & 0 deletions libs/cloud/tests/test_thredds.py
@@ -1,5 +1,6 @@
"""Test thredds downloader code
"""

import pytest
from odc.thredds import download_yamls, thredds_find_glob

Expand Down
1 change: 1 addition & 0 deletions libs/io/odc/io/__init__.py
@@ -1,5 +1,6 @@
""" Various file io helpers
"""

from .tar import tar_doc_stream
from .text import parse_mtl, parse_yaml, read_stdin_lines, slurp, slurp_lines
from .timer import RateEstimator
Expand Down
1 change: 1 addition & 0 deletions libs/io/odc/io/cgroups.py
@@ -1,6 +1,7 @@
"""
Query Linux cgroup fs for various info
"""

from typing import Optional

from .text import read_int
Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/_cmaps.py
@@ -1,6 +1,7 @@
"""
Some color map data
"""

# flake8: noqa
import numpy as np

Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/_dc_explore.py
@@ -1,4 +1,5 @@
"""Interactive dc viewer"""

import ipyleaflet as L
from ipywidgets import widgets as w
from pandas import Period
Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/_images.py
@@ -1,5 +1,6 @@
""" Notebook display helper methods.
"""

import numpy as np
import rasterio
import warnings
Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/_map.py
@@ -1,5 +1,6 @@
""" Notebook display helper methods (mapping related).
"""

# pylint:disable=import-outside-toplevel

import math
Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/_ui.py
@@ -1,5 +1,6 @@
""" Notebook display helper methods.
"""

from IPython.display import display
from ipywidgets import HBox, IntProgress, Label, Layout, VBox
from jupyter_ui_poll import run_ui_poll_loop
Expand Down
1 change: 1 addition & 0 deletions libs/ui/odc/ui/plt_tools.py
@@ -1,6 +1,7 @@
"""
Various data visualisation helper methods
"""

from matplotlib import pyplot as plt

from ._cmaps import scl_colormap
Expand Down

0 comments on commit 0ca0355

Please sign in to comment.