From 39b612ddc359f9d5088eff55ae8206a3f5fca806 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 19:51:32 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_digraph.py | 1 + tests/test_external_node.py | 1 + tests/test_utils.py | 1 + tests/test_znflow.py | 1 + znflow/__init__.py | 1 + znflow/exceptions.py | 1 - znflow/utils.py | 1 + znflow/visualize.py | 1 + 8 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_digraph.py b/tests/test_digraph.py index b5d3a09..0e568c4 100644 --- a/tests/test_digraph.py +++ b/tests/test_digraph.py @@ -1,4 +1,5 @@ """Test the 'znflow.DiGraph' class.""" + import znflow diff --git a/tests/test_external_node.py b/tests/test_external_node.py index f40fd6e..f24dff7 100644 --- a/tests/test_external_node.py +++ b/tests/test_external_node.py @@ -2,6 +2,7 @@ These nodes are not run but only used as a source of data. """ + import dataclasses import znflow diff --git a/tests/test_utils.py b/tests/test_utils.py index 563f5e6..0975ff0 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,4 +1,5 @@ """Test the 'znflow.utils' module.""" + import pytest from znflow import utils diff --git a/tests/test_znflow.py b/tests/test_znflow.py index 91c11b5..4dcff17 100644 --- a/tests/test_znflow.py +++ b/tests/test_znflow.py @@ -1,4 +1,5 @@ """Test the 'znflow' package.""" + import znflow diff --git a/znflow/__init__.py b/znflow/__init__.py index 2d00af5..2cd0469 100644 --- a/znflow/__init__.py +++ b/znflow/__init__.py @@ -1,4 +1,5 @@ """The 'ZnFlow' package.""" + import contextlib import importlib.metadata import logging diff --git a/znflow/exceptions.py b/znflow/exceptions.py index 227fc47..e486076 100644 --- a/znflow/exceptions.py +++ b/znflow/exceptions.py @@ -1,5 +1,4 @@ """ZnFlow exceptions.""" - class ConnectionAttributeError(AttributeError): """Raised when a connection attribute is not found.""" diff --git a/znflow/utils.py b/znflow/utils.py index 8608a2e..a7ec9ac 100644 --- a/znflow/utils.py +++ b/znflow/utils.py @@ -1,4 +1,5 @@ """Utils of the 'ZnFlow' package.""" + import abc import functools diff --git a/znflow/visualize.py b/znflow/visualize.py index 2908b57..ec917d5 100644 --- a/znflow/visualize.py +++ b/znflow/visualize.py @@ -1,4 +1,5 @@ """The 'ZnFlow' visualization module.""" + import math import networkx as nx