From 8ed909a59f78e46a87f918a1111e85a764b9a14e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:09:33 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.2.0) - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) - [github.com/tox-dev/pyproject-fmt: 1.5.3 → 1.7.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...1.7.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0896f42..fc1e32a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,13 +27,13 @@ repos: - id: blackdoc - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.9 + rev: v0.2.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black language_version: python3 @@ -51,7 +51,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "1.7.0" hooks: - id: pyproject-fmt From 38e5c7bbe04668fe5ca1ef50aabe2fbef811cd44 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:09:47 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xpublish_intake_provider/dataset_provider_plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xpublish_intake_provider/dataset_provider_plugin.py b/xpublish_intake_provider/dataset_provider_plugin.py index 87cb4b9..e6a05c5 100644 --- a/xpublish_intake_provider/dataset_provider_plugin.py +++ b/xpublish_intake_provider/dataset_provider_plugin.py @@ -3,6 +3,7 @@ Loads datasets from a single intake catalog via the regular `deps.dataset` interface. """ + from pathlib import Path from typing import Union