Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #90

Merged
merged 3 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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 tmp/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 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
Loading