Skip to content

Commit

Permalink
Merge pull request #1425 from nsoranzo/black_2024
Browse files Browse the repository at this point in the history
Update to black 2024 stable style
  • Loading branch information
nsoranzo authored Feb 1, 2024
2 parents 10479b4 + dddca1d commit 023c758
Show file tree
Hide file tree
Showing 104 changed files with 100 additions and 4 deletions.
1 change: 1 addition & 0 deletions planemo/autopygen/argument_parser_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
and to transform it into easily usable ParamInfo class containing
all the necessary info for 'inputs' element initialization
"""

import ast
import logging
import math
Expand Down
1 change: 1 addition & 0 deletions planemo/autopygen/commands/command_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Elements can be nested
"""

from typing import List

from planemo.autopygen.param_info import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module responsible for resolving assignments and constant list comprehensives
used in argument parser
"""

import ast
import logging
from typing import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module responsible for discovery of import statements importing Argument parser
and discovery of the statements initializing the parser itself
"""

import ast
import logging
from typing import (
Expand Down
1 change: 1 addition & 0 deletions planemo/autopygen/source_file_parsing/parsing_commons.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module containing the parent class of Dicovery classes
"""

import abc
import ast
from typing import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module containing discovery classes used to find names
(assignments to variables) that have not been extracted yet
"""

import ast
import builtins
from typing import (
Expand Down
1 change: 0 additions & 1 deletion planemo/ci.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Utilities for dealing with continous integration systems."""


import copy
import math
import os
Expand Down
1 change: 1 addition & 0 deletions planemo/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The module describes a CLI framework extending ``click``."""

import functools
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_autoupdate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``autoupdate`` command."""

import json
from typing import Callable

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_ci_setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``ci_setup`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_clone.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``clone`` command."""

from typing import Callable

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_conda_build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``conda_build`` command."""

from typing import (
Tuple,
TYPE_CHECKING,
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_conda_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``conda_init`` command."""

import click
from galaxy.tool_util.deps import conda_util

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_conda_install.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``conda_install`` command."""

import click
from galaxy.tool_util.deps import conda_util

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_config_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``config_init`` command."""

import os
import sys

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_container_register.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``container_register`` command."""

import os
import string
from typing import List
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_create_alias.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``create_alias`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_create_gist.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``create_gist`` command."""

import click

from planemo import github_util
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_delete_alias.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``delete_alias`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_dockstore_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``dockstore_init`` command."""

import os

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_docs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``docs`` command."""

import click

from planemo.cli import command_function
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``lint`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_list_alias.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``list_alias`` command."""

import json

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_list_invocations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``list_invocations`` command."""

import json

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_merge_test_reports.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``merge_test_reports`` command."""

import os

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_mull.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``mull`` command."""

import click
from galaxy.tool_util.deps.mulled.mulled_build import mull_targets

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_mulled_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``mulled_init`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_normalize.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``normalize`` command."""

from xml.etree import ElementTree

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_open.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``open`` command."""

import click

from planemo.cli import command_function
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_project_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``project_init`` command."""

import os
import shutil
import tempfile
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_pull_request.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``pull_request`` command."""

import click

from planemo import (
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_rerun.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``rerun`` command."""

from typing import (
Tuple,
TYPE_CHECKING,
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_serve.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``serve`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_share_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``share_test`` command."""

import click

from planemo import (
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_create.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_create`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_diff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_diff`` command."""

import shutil
import sys
import tempfile
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_download.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_download`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_init`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_lint`` command."""

import click

from planemo import (
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_serve.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_serve`` command."""

import click

from planemo import (
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_test`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_update`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_shed_upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``shed_upload`` command."""

import sys

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_syntax.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``syntax`` command."""

import click

from planemo.cli import command_function
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``test`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_test_reports.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``test_reports`` command."""

import datetime
import pathlib

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_training_fill_data_library.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``training_fill_data_library`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_convert.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_convert`` command."""

import json
import os

Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_edit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_edit`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_job_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_job_init`` command."""

import os

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_lint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_lint`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_test_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_test_init`` command."""

import os

import click
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_test_on_invocation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_test_check`` command."""

import click

from planemo import options
Expand Down
1 change: 1 addition & 0 deletions planemo/commands/cmd_workflow_upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describing the planemo ``workflow_upload`` command."""

from collections import defaultdict
from pathlib import Path

Expand Down
1 change: 0 additions & 1 deletion planemo/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
The extend galaxy-tool-util's features with planemo specific idioms.
"""


import collections
import os
import threading
Expand Down
1 change: 1 addition & 0 deletions planemo/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Abstractions for cross cutting concerns (logging, workspace management,
etc.).
"""

import abc
import logging.config
import os
Expand Down
1 change: 1 addition & 0 deletions planemo/cwl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Entry point for modules describing abstractions for dealing with CWL artifacts."""

from .run import run_cwltool
from .toil import run_toil

Expand Down
1 change: 1 addition & 0 deletions planemo/cwl/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Peter Amstutz and serves the reference implementation for the CWL.
It can be found at https://github.com/common-workflow-language/cwltool,
"""

import json
import tempfile
from typing import (
Expand Down
1 change: 1 addition & 0 deletions planemo/database/factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Create a DatabaseSource from supplied planemo configuration."""

from galaxy.util.commands import which

from .interface import DatabaseSource
Expand Down
1 change: 1 addition & 0 deletions planemo/database/postgres_docker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module describes a :class:`DatabaseSource` for managed, dockerized postgres databases."""

import time

from galaxy.tool_util.deps import (
Expand Down
1 change: 1 addition & 0 deletions planemo/deps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Abstractions for building dependency resolution configurations."""

import tempfile
from string import Template

Expand Down
1 change: 1 addition & 0 deletions planemo/engine/toil.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module contianing the :class:`ToilEngine` implementation of :class:`Engine`."""

from typing import (
Callable,
List,
Expand Down
1 change: 0 additions & 1 deletion planemo/galaxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Entry-point for Galaxy specific functionality in Planemo."""


from .config import galaxy_config
from .run import (
run_galaxy_command,
Expand Down
Loading

0 comments on commit 023c758

Please sign in to comment.