Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ repos:
# name: isort (python)
# args: [ "--profile", "black", "--filter-files" ]
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/pylint
rev: 'v3.3.2' # Use the sha / tag you want to point at
rev: 'v3.3.4' # Use the sha / tag you want to point at
hooks:
- id: pylint
- repo: https://github.com/PyCQA/flake8
Expand Down
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