Skip to content

Commit 2cdd691

Browse files
committed
formatting
1 parent c33f66f commit 2cdd691

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

pyunicore/cli/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ def _show_details_storage(self, ep: Resource):
8484
t = t + " (job directory)"
8585
print(f" * type: {t}")
8686
print(f" * mount point: {props['mountPoint']}")
87-
print(f" * free space : {int(props['freeSpace']/1024/1024)} MB")
87+
print(f" * free space : {int(props['freeSpace'] / 1024/1024)} MB")

pyunicore/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""
2-
Client library for UNICORE
2+
Client library for UNICORE
33
4-
For full info on the UNICORE REST API, see
5-
https://unicore-docs.readthedocs.io/en/latest/user-docs/rest-api/index.html
4+
For full info on the UNICORE REST API, see
5+
https://unicore-docs.readthedocs.io/en/latest/user-docs/rest-api/index.html
66
"""
77

88
from __future__ import annotations
@@ -271,7 +271,7 @@ def __repr__(self):
271271
class Registry(Resource):
272272
"""Client for a UNICORE service Registry
273273
274-
>>> base_url = '...' # e.g. "https://localhost:8080/REGISTRY/rest/registries/default_registry" # noqa
274+
>>> base_url = '...' # e.g. "https://.../rest/registries/default_registry"
275275
>>> credential = '...'
276276
>>> registry = Registry(credential, base_url)
277277

pyunicore/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Credentials for authenticating
2+
Helper code to generate credentials for authenticating to UNICORE
33
"""
44

55
try:

pyunicore/cwl/cwlconverter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
2-
CWL to UNICORE converter and utilities
2+
CWL to UNICORE converter and utilities
3+
(proof of concept, not good enough for production use)
34
"""
45

56

0 commit comments

Comments
 (0)