Skip to content

Commit f615403

Browse files
committed
fix docs linting
1 parent fe6b706 commit f615403

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool/cwlprov/ro.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def initialize_provenance(
9595
fsaccess: StdFsAccess,
9696
run_uuid: Optional[uuid.UUID] = None,
9797
) -> "ProvenanceProfile":
98-
"""Hook function allowing calling code to extend the provenance details if needed."""
98+
"""Provide a provenance profile initialization hook function to extend details as needed."""
9999
from .provenance_profile import ProvenanceProfile
100100

101101
return ProvenanceProfile(
@@ -144,7 +144,7 @@ def _initialize_bagit(self) -> None:
144144
bag_it_file.write(f"Tag-File-Character-Encoding: {ENCODING}\n")
145145

146146
def resolve_user(self) -> tuple[str, str]:
147-
"""Hook function in case the calling code can provide a better resolution."""
147+
"""Provide a user provenance hook function in case the calling code can provide a better resolution."""
148148
return _whoami()
149149

150150
def user_provenance(self, document: ProvDocument) -> None:
@@ -187,7 +187,7 @@ def user_provenance(self, document: ProvDocument) -> None:
187187
document.actedOnBehalfOf(account, user)
188188

189189
def resolve_host(self) -> tuple[str, str]:
190-
"""Hook function in case the calling code can provide a better resolution."""
190+
"""Provide a host provenance hook function in case the calling code can provide a better resolution."""
191191
fqdn = getfqdn()
192192
return fqdn, fqdn # allow for (fqdn, uri) to be distinct, but the same by default
193193

0 commit comments

Comments
 (0)