From cccc6b9d5b58b67a2a411a67456dfb16f530e43c Mon Sep 17 00:00:00 2001 From: bsavitzky Date: Wed, 15 Nov 2023 13:25:59 -0800 Subject: [PATCH] flake fixes Former-commit-id: cbbb6a63941683432804f39be47f6f3af27f9658 --- .flake8 | 1 + test/test_datacube.py | 1 - test/test_native_io/test_calibration_io.py | 6 +++--- test/test_native_io/test_realslice_read.py | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.flake8 b/.flake8 index 15e43a6cc..4fc1beac0 100644 --- a/.flake8 +++ b/.flake8 @@ -8,6 +8,7 @@ extend-ignore: E203, E204, E231, + E265, E266, E303, E402, diff --git a/test/test_datacube.py b/test/test_datacube.py index e50590fbf..67f419014 100644 --- a/test/test_datacube.py +++ b/test/test_datacube.py @@ -1,6 +1,5 @@ import py4DSTEM import numpy as np -from os.path import join # set filepath path = py4DSTEM._TESTPATH + "/small_datacube.dm4" diff --git a/test/test_native_io/test_calibration_io.py b/test/test_native_io/test_calibration_io.py index 026ce6845..4bf1fbb3c 100644 --- a/test/test_native_io/test_calibration_io.py +++ b/test/test_native_io/test_calibration_io.py @@ -1,6 +1,6 @@ -#import py4DSTEM -#import numpy as np -#from os.path import join +# import py4DSTEM +# import numpy as np +# from os.path import join # set filepath # path = join(py4DSTEM._TESTPATH, "filename") diff --git a/test/test_native_io/test_realslice_read.py b/test/test_native_io/test_realslice_read.py index 168737caf..f58a54435 100644 --- a/test/test_native_io/test_realslice_read.py +++ b/test/test_native_io/test_realslice_read.py @@ -11,4 +11,3 @@ def test_read_realslice(): realslice = py4DSTEM.read(filepath, datapath="4DSTEM/Fit Data") # noqa: F841 -