Skip to content

Commit 55f21c7

Browse files
author
Tatjana Damnjanović
committed
linting
1 parent 9576661 commit 55f21c7

5 files changed

Lines changed: 2 additions & 10 deletions

File tree

solvebio/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def _set_cached_api_host(host):
103103
from .global_search import GlobalSearch
104104
from .annotate import Annotator, Expression
105105
from .client import client, SolveClient
106-
from .auth import authenticate
107106
from .resource import (
108107
Application,
109108
Beacon,

solvebio/__main__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
import sys
3-
41
from .cli.main import main
52

63
if __name__ == "__main__":

solvebio/cli/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ def print_user(user):
8181
email = user['email']
8282
domain = user['account']['domain']
8383
print(f'You are logged-in to the "{domain}" domain as {email}'
84-
f' (server: {solvebio.get_api_host()}).')
84+
f' (server: {solvebio.get_api_host()}).')

solvebio/cli/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def get_credentials(api_host: str = None) -> ApiCredentials:
109109
# available option that ends with '.api.quartzbio.com',
110110
netrc_host = next(
111111
filter(lambda h: h.endswith(".api.quartzbio.com"), netrc_obj.hosts), None
112-
)
112+
)
113113

114114
# Otherwise use the first available.
115115
if netrc_host is None:

solvebio/cli/data.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,10 +1044,6 @@ def _ls(full_path, recursive=False, follow_shortcuts=False):
10441044
return files
10451045

10461046

1047-
def _is_single_file(objects):
1048-
return len(objects) == 1 and objects[0].get("object_type") == "file"
1049-
1050-
10511047
def should_tag_by_object_type(args, object_):
10521048
"""Returns True if object matches object type requirements"""
10531049
valid = True

0 commit comments

Comments
 (0)