From c9048ace495d8d2f722866a97163f59164e6f635 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:22:59 +0000 Subject: [PATCH] [pre-commit.ci] Fixing issues with pre-commit --- tests/test_asd.py | 1 + topofileformats/__init__.py | 1 + topofileformats/asd.py | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/test_asd.py b/tests/test_asd.py index 32234f7..d554f70 100644 --- a/tests/test_asd.py +++ b/tests/test_asd.py @@ -1,4 +1,5 @@ """Test the functioning of loading .asd files.""" + from pathlib import Path import pytest diff --git a/topofileformats/__init__.py b/topofileformats/__init__.py index e1f28fa..789c92b 100644 --- a/topofileformats/__init__.py +++ b/topofileformats/__init__.py @@ -1,4 +1,5 @@ """topofileformats.""" + from importlib.metadata import version release = version("topofileformats") diff --git a/topofileformats/asd.py b/topofileformats/asd.py index a9c2225..a4d86dd 100644 --- a/topofileformats/asd.py +++ b/topofileformats/asd.py @@ -1,4 +1,5 @@ """For decoding and loading .asd AFM file format into Python Numpy arrays.""" + from __future__ import annotations from pathlib import Path from typing import BinaryIO