Skip to content

Commit bbcf98a

Browse files
jmchiltonclaude
andcommitted
Fix docstring formatting (D205/D209/D400) and suppress D107
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8ffb570 commit bbcf98a

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

gxformat2/normalized/_format2.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@
3737

3838

3939
class NormalizedWorkflowStep(BaseModel):
40-
"""A Format 2 workflow step with all union types resolved to their
41-
canonical list form and ids guaranteed populated."""
40+
"""A Format 2 workflow step with all union types resolved to canonical list form.
41+
42+
Ids are guaranteed populated.
43+
"""
4244

4345
model_config = ConfigDict(populate_by_name=True, extra="allow")
4446

gxformat2/normalized/_native.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@
5454

5555

5656
class NormalizedNativeStep(BaseModel):
57-
"""A native workflow step with all optional containers resolved to empty defaults
58-
and tool_state guaranteed to be a parsed dict."""
57+
"""A native workflow step with optional containers resolved to empty defaults.
58+
59+
tool_state is guaranteed to be a parsed dict.
60+
"""
5961

6062
model_config = ConfigDict(populate_by_name=True, extra="allow")
6163

@@ -86,8 +88,10 @@ class NormalizedNativeStep(BaseModel):
8688

8789

8890
class NormalizedNativeWorkflow(BaseModel):
89-
"""A native Galaxy workflow with all optional containers resolved to empty
90-
defaults and steps containing NormalizedNativeStep instances."""
91+
"""A native Galaxy workflow with optional containers resolved to empty defaults.
92+
93+
Steps contain NormalizedNativeStep instances.
94+
"""
9195

9296
model_config = ConfigDict(populate_by_name=True, extra="allow")
9397

gxformat2/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ConversionOptions:
4747
expansion control, and URL resolution.
4848
"""
4949

50-
def __init__(
50+
def __init__( # noqa: D107
5151
self,
5252
workflow_directory: str | Path | None = None,
5353
encode_tool_state_json: bool = True,

0 commit comments

Comments
 (0)