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

[cmdline] Pre-commit cleanup

parent 33320a6b
......@@ -89,7 +89,7 @@ class MutuallyExclusiveOption(click.Option):
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
"""
......@@ -108,7 +108,7 @@ class AssetInfo:
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.
"""
......
......@@ -42,6 +42,7 @@ import fnmatch
import glob
import logging
import os
from enum import Enum
from enum import unique
......@@ -866,7 +867,10 @@ def pull(webapi, prefix, asset_type, names, fields, force, indentation):
try:
file_data = webapi.download(
"/api/v1/%s/%s/file/"
% (TYPE_PLURAL[asset_type], storage.fullname,)
% (
TYPE_PLURAL[asset_type],
storage.fullname,
)
)
data["code"] = file_data
except Exception as e:
......
......@@ -44,6 +44,7 @@ import signal
import textwrap
import threading
import traceback
from datetime import timedelta
import click
......@@ -602,7 +603,7 @@ def plot_impl(configuration, names, remote, show, output_folder, plotterparamete
data_to_plot[name] = cleaned_data
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.
"""
......
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