Skip to content
Open
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
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ extend-exclude = ["src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/"]
ignore = [
# Style choices — deliberate project conventions
"EM101", # Exception string literals
"G004", # Logging f-strings
"EM102", # Exception f-strings
"T201", # print() used for user output
"TRY003", # Raise with inline message strings
Comment on lines 183 to 188
Expand Down
5 changes: 2 additions & 3 deletions src/seclab_taskflow_agent/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ def _normalise_version(cls, v: Any) -> str:
@classmethod
def _validate_version(cls, v: str) -> str:
if v != SUPPORTED_VERSION:
raise ValueError(
f"Unsupported version: {v}. Only version {SUPPORTED_VERSION} is supported."
)
msg = f"Unsupported version: {v}. Only version {SUPPORTED_VERSION} is supported."
raise ValueError(msg)
return v


Expand Down