From 7d18dc67ec79deb1bb96a52dec01665fe6200352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20M=2E=20K=C3=B6hler?= Date: Tue, 20 Feb 2024 19:41:16 +0100 Subject: [PATCH] Remove main, format code --- .pre-commit-config.yaml | 2 +- pyproject.toml | 1 + src/pte/main.py | 11 ----------- src/pte/pipelines/pipelines.py | 1 + src/pte/preprocessing/annotation.py | 1 + tests/test_import.py | 1 + 6 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 src/pte/main.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c3dbd33..c1e0721 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: "23.10.1" + rev: 24.2.0 hooks: - id: black-jupyter diff --git a/pyproject.toml b/pyproject.toml index f932241..d8b8e0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,6 +86,7 @@ module = [ "mpl_toolkits.axes_grid1", "numba", "numpy", + "pandas", "plotly", "pte_stats", "pybv", diff --git a/src/pte/main.py b/src/pte/main.py deleted file mode 100644 index 6b0a331..0000000 --- a/src/pte/main.py +++ /dev/null @@ -1,11 +0,0 @@ -"""Test package import.""" -import pte - - -def main(): - """Run this script.""" - print(dir(pte)) - - -if __name__ == "__main__": - main() diff --git a/src/pte/pipelines/pipelines.py b/src/pte/pipelines/pipelines.py index a28f1f9..4d5f647 100644 --- a/src/pte/pipelines/pipelines.py +++ b/src/pte/pipelines/pipelines.py @@ -1,4 +1,5 @@ """Module for predefined processing pipelines.""" + from collections.abc import Sequence from pathlib import Path diff --git a/src/pte/preprocessing/annotation.py b/src/pte/preprocessing/annotation.py index 8936ecc..c8c6e58 100644 --- a/src/pte/preprocessing/annotation.py +++ b/src/pte/preprocessing/annotation.py @@ -1,4 +1,5 @@ """Module for annotating Raw objects and other data.""" + import mne diff --git a/tests/test_import.py b/tests/test_import.py index 14b1f6d..bd5128c 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -1,4 +1,5 @@ """Test import of pte""" + import pte