Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/zincware/ZnFlow
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Feb 26, 2024
2 parents 4abaff4 + 0fad865 commit f7b4e43
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -21,23 +21,23 @@ repos:
- id: sort-simple-yaml
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.2.0
hooks:
- id: black
additional_dependencies: [".[jupyter]"]
types_or: [python, pyi, jupyter]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies: ["tomli"]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.290'
rev: 'v0.2.2'
hooks:
- id: ruff
args: ['--fix']
Expand Down
1 change: 1 addition & 0 deletions examples/example_01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@
],
"source": [
"%time graph.run() # default is to call node.run()\n",
"\n",
"# # [x._id_ for x in dag.nodes]\n",
"[x for x in graph.nodes]"
]
Expand Down
1 change: 1 addition & 0 deletions tests/test_digraph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the 'znflow.DiGraph' class."""

import znflow


Expand Down
1 change: 1 addition & 0 deletions tests/test_external_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
These nodes are not run but only used as a source of data.
"""

import dataclasses

import znflow
Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the 'znflow.utils' module."""

import pytest

from znflow import utils
Expand Down
1 change: 1 addition & 0 deletions tests/test_znflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test the 'znflow' package."""

import znflow


Expand Down
1 change: 1 addition & 0 deletions znflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The 'ZnFlow' package."""

import contextlib
import importlib.metadata
import logging
Expand Down
1 change: 1 addition & 0 deletions znflow/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utils of the 'ZnFlow' package."""

import abc
import functools

Expand Down
1 change: 1 addition & 0 deletions znflow/visualize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The 'ZnFlow' visualization module."""

import math

import networkx as nx
Expand Down

0 comments on commit f7b4e43

Please sign in to comment.