Skip to content
Closed
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
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ ignore = [
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]

[tool.ruff.lint.flake8-type-checking]
# pydantic evaluates model annotations at runtime, so field-type imports must stay importable at
# runtime (not moved into a TYPE_CHECKING block) or model building raises PydanticUndefinedAnnotation.
runtime-evaluated-base-classes = ["pydantic.BaseModel"]

[tool.ruff.lint.pydocstyle]
convention = "google"

Expand Down
3 changes: 1 addition & 2 deletions rowan/folder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

from datetime import datetime
from typing import TYPE_CHECKING, Any, Self

from pydantic import BaseModel
Expand All @@ -8,8 +9,6 @@
from .utils import api_client, get_project_uuid

if TYPE_CHECKING:
from datetime import datetime

from .workflows.base import Workflow


Expand Down