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 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