Commit 74be05b1 authored by Samuel GAIST's avatar Samuel GAIST

[cmdline] Pre-commit cleanup

parent 33320a6b
...@@ -89,7 +89,7 @@ class MutuallyExclusiveOption(click.Option): ...@@ -89,7 +89,7 @@ class MutuallyExclusiveOption(click.Option):
class AssetInfo: class AssetInfo:
""" Information needed by the command to properly call local and remote """Information needed by the command to properly call local and remote
commands commands
""" """
...@@ -108,7 +108,7 @@ class AssetInfo: ...@@ -108,7 +108,7 @@ class AssetInfo:
class AssetCommand(click.Command): class AssetCommand(click.Command):
""" Custom click command that will update the context with asset information """Custom click command that will update the context with asset information
related to the command called. related to the command called.
""" """
......
...@@ -42,6 +42,7 @@ import fnmatch ...@@ -42,6 +42,7 @@ import fnmatch
import glob import glob
import logging import logging
import os import os
from enum import Enum from enum import Enum
from enum import unique from enum import unique
...@@ -866,7 +867,10 @@ def pull(webapi, prefix, asset_type, names, fields, force, indentation): ...@@ -866,7 +867,10 @@ def pull(webapi, prefix, asset_type, names, fields, force, indentation):
try: try:
file_data = webapi.download( file_data = webapi.download(
"/api/v1/%s/%s/file/" "/api/v1/%s/%s/file/"
% (TYPE_PLURAL[asset_type], storage.fullname,) % (
TYPE_PLURAL[asset_type],
storage.fullname,
)
) )
data["code"] = file_data data["code"] = file_data
except Exception as e: except Exception as e:
......
...@@ -44,6 +44,7 @@ import signal ...@@ -44,6 +44,7 @@ import signal
import textwrap import textwrap
import threading import threading
import traceback import traceback
from datetime import timedelta from datetime import timedelta
import click import click
...@@ -602,7 +603,7 @@ def plot_impl(configuration, names, remote, show, output_folder, plotterparamete ...@@ -602,7 +603,7 @@ def plot_impl(configuration, names, remote, show, output_folder, plotterparamete
data_to_plot[name] = cleaned_data data_to_plot[name] = cleaned_data
def _get_plotter_for(dataformat): def _get_plotter_for(dataformat):
""" Returns the first plotter that matches the dataformat given in """Returns the first plotter that matches the dataformat given in
parameter. parameter.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment