From 6272b650ecf802a04ef2099aa0767c33bae16a03 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:17:05 +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/psf/black: 23.12.0 → 24.2.0](https://github.com/psf/black/compare/23.12.0...24.2.0) - [github.com/pre-commit/mirrors-prettier: v4.0.0-alpha.7 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v4.0.0-alpha.7...v4.0.0-alpha.8) - [github.com/pycqa/flake8: 6.1.0 → 7.0.0](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0) - [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.1...v1.8.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a06fe0..2b1ba96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 24.2.0 hooks: - id: black-jupyter @@ -30,7 +30,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.7" + rev: "v4.0.0-alpha.8" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] @@ -77,14 +77,14 @@ repos: - flake8-print - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 exclude: docs/conf.py additional_dependencies: *flake8_dependencies - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.1 + rev: v1.8.0 hooks: - id: mypy files: src From 1ab5e43892c41fa735213320c10c469a88a01c1c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:17:18 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/fsspec_xrootd/__init__.py | 1 - tests/test_basicio.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fsspec_xrootd/__init__.py b/src/fsspec_xrootd/__init__.py index 88efd0a..3f9b06c 100644 --- a/src/fsspec_xrootd/__init__.py +++ b/src/fsspec_xrootd/__init__.py @@ -5,7 +5,6 @@ BSD 3-Clause License; see https://github.com/CoffeaTeam/fsspec-xrootd/blob/main/LICENSE """ - from __future__ import annotations from ._version import version as __version__ diff --git a/tests/test_basicio.py b/tests/test_basicio.py index 32f5dc6..6124bda 100644 --- a/tests/test_basicio.py +++ b/tests/test_basicio.py @@ -1,4 +1,5 @@ """Test basic IO against a xrootd server fixture""" + from __future__ import annotations import os