Skip to content
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
2 changes: 1 addition & 1 deletion act_operator/act_operator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.3"
__version__ = "0.6.4"
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ def parse_act_claude_md(content: str) -> dict:
r"\| ([A-Z][a-zA-Z0-9 ]+) \| .* \| \[.*?\]\((casts/[^/]+/CLAUDE\.md)\)"
)
matches = re.findall(cast_table_pattern, content)
data["casts_in_table"] = [{"name": name.strip(), "path": path} for name, path in matches]
data["casts_in_table"] = [
{"name": name.strip(), "path": path} for name, path in matches
]

return data

Expand Down Expand Up @@ -579,12 +581,8 @@ def main():
parser = argparse.ArgumentParser(
description="Validate distributed architecture specification completeness"
)
parser.add_argument(
"--quiet", "-q", action="store_true", help="Only output errors"
)
parser.add_argument(
"--json", action="store_true", help="Output as JSON"
)
parser.add_argument("--quiet", "-q", action="store_true", help="Only output errors")
parser.add_argument("--json", action="store_true", help="Output as JSON")

args = parser.parse_args()

Expand All @@ -597,6 +595,7 @@ def main():
# Output
if args.json:
import json

output = {
"passed": report.passed,
"error_count": len(report.errors),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
agents
state
utils
deps
docs
tests
requireScope: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cache-suffix: "ruff"

- name: Install dependencies (dev)
run: uv sync --lint
run: uv sync --group lint

- name: Ruff Lint Check
run: uv run ruff check .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
hooks:
- id: ruff-check
# μ½”λ“œ ν’ˆμ§ˆ 점검 및 μž„ν¬νŠΈ 정리
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comments in this configuration file are in Korean, while the rest of the project (including docstrings and scripts) is in English. For consistency and better maintainability in an English-primary environment, it is recommended to use English for all comments.

        # Code quality check and import sorting

types_or: [python, pyi]
args: [--fix]
- id: ruff-format
# μ½”λ“œ ν¬λ§·νŒ…
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comments in this configuration file are in Korean, while the rest of the project is in English. It is recommended to use English for consistency.

        # Code formatting

types_or: [python, pyi]
- id: ruff
# μ½”λ“œ ν’ˆμ§ˆ 점검 및 μž„ν¬νŠΈ 정리
types_or: [python, pyi]
args: [check, --fix]
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
2. Connect nodes via ``builder.add_edge()`` or ``builder.add_conditional_edges()`` when branching.
3. Return the compiled graph to orchestrate LangGraph execution.

Official document URL:
Official document URL:
- Graph API: https://docs.langchain.com/oss/python/langgraph/graph-api
- StateGraph: https://docs.langchain.com/oss/python/langgraph/graph-api#stategraph
- Nodes: https://docs.langchain.com/oss/python/langgraph/graph-api#nodes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ lint = [
"ruff",
]
dev = [
"act-operator>=0.6.0",
"act-operator>=0.6.4",
{include-group = "test"},
{include-group = "lint"},
]
Expand All @@ -42,17 +42,27 @@ exclude = [
]

[tool.ruff]
exclude = [
"(^|/)(.venv|venv|node_modules|__pycache__|.pytest_cache|.ruff_cache|migrations|static|templates|.git|.github|.langgraph_api|media)(/|$)",
"^tests(/|$)",
"^unit_tests(/|$)",
extend-exclude = [
".git",
".github",
".langgraph_api",
".pytest_cache",
".ruff_cache",
".venv",
"__pycache__",
".env",
".env.example",
".gitignore",
"LICENSE",
"README.md",
"langgraph.json",
"uv.lock"
"media",
"migrations",
"node_modules",
"static",
"templates",
"uv.lock",
"venv",
]
lint.select = [
"E",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from __future__ import annotations

from casts.{{ cookiecutter.cast_snake }}.modules.nodes import SampleNode, AsyncSampleNode
from casts.{{ cookiecutter.cast_snake }}.modules.nodes import AsyncSampleNode, SampleNode


def test_base_node_calls_execute() -> None:
Expand Down