From 102e15e21d93959e6bf97ad72ea0887ef9adc495 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:42:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- mag2exp/__init__.py | 1 + mag2exp/ltem.py | 1 + mag2exp/magnetometry.py | 1 + mag2exp/moke.py | 1 + mag2exp/sans.py | 1 + tasks.py | 1 + 6 files changed, 6 insertions(+) diff --git a/mag2exp/__init__.py b/mag2exp/__init__.py index c6ccb91..9f01ac6 100644 --- a/mag2exp/__init__.py +++ b/mag2exp/__init__.py @@ -1,4 +1,5 @@ """Simulate experimental measurements.""" + import importlib import pytest diff --git a/mag2exp/ltem.py b/mag2exp/ltem.py index 9ad2886..a9341e2 100644 --- a/mag2exp/ltem.py +++ b/mag2exp/ltem.py @@ -3,6 +3,7 @@ Module for calculation of Lorentz Transmission Electron Microscopy related quantities. """ + import warnings import discretisedfield as df diff --git a/mag2exp/magnetometry.py b/mag2exp/magnetometry.py index f9ed4ff..2618d21 100644 --- a/mag2exp/magnetometry.py +++ b/mag2exp/magnetometry.py @@ -2,6 +2,7 @@ Module for calculation of magnetometry based techniques. """ + import discretisedfield as df import micromagneticmodel as mm import numpy as np diff --git a/mag2exp/moke.py b/mag2exp/moke.py index c95fadc..5aca65c 100644 --- a/mag2exp/moke.py +++ b/mag2exp/moke.py @@ -9,6 +9,7 @@ and we are looking to correct this in future releases. Please feel free to contact us or raise an issue if you have any comments on this technique.** """ + import warnings import discretisedfield as df diff --git a/mag2exp/sans.py b/mag2exp/sans.py index a1b23d2..3a2bc88 100644 --- a/mag2exp/sans.py +++ b/mag2exp/sans.py @@ -3,6 +3,7 @@ Module for calculation of Small Angle Neutron Scattering related quantities. """ + import discretisedfield as df import numpy as np from scipy.spatial.transform import Rotation diff --git a/tasks.py b/tasks.py index f7e575d..7a13205 100644 --- a/tasks.py +++ b/tasks.py @@ -1,4 +1,5 @@ """Tasks to release the package.""" + import os import shutil