Skip to content

Commit

Permalink
move user_agent import to separate line and double-space comment to p…
Browse files Browse the repository at this point in the history
…lacate flake8
  • Loading branch information
svonworl authored and mvdbeek committed Apr 16, 2024
1 parent 0a27886 commit 462239b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
heartbeat,
listify,
StructuredExecutionTimer,
user_agent, # noqa: F401
)
from galaxy.util import user_agent # noqa: F401
from galaxy.util.task import IntervalTask
from galaxy.util.tool_shed import tool_shed_registry
from galaxy.visualization.data_providers.registry import DataProviderRegistry
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/tools/data_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from galaxy.util import (
in_directory,
safe_makedirs,
user_agent, # noqa: F401
)
from galaxy.util import user_agent # noqa: F401
from galaxy.util.bunch import Bunch
from galaxy.util.compression_utils import CompressedFile
from galaxy.util.hash_util import (
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/util/user_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from galaxy.version import VERSION


def __append_word_to_user_agent(word):

# set requests User-Agent
Expand Down

0 comments on commit 462239b

Please sign in to comment.