getindata/data-pipelines-cli

View on GitHub
data_pipelines_cli/cli_commands/deploy.py

Summary

Maintainability
A
0 mins
Test Coverage
A
95%

Function __init__ has 8 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

    def __init__(
Severity: Major
Found in data_pipelines_cli/cli_commands/deploy.py - About 1 hr to fix

    Function deploy_command has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

    def deploy_command(
    Severity: Major
    Found in data_pipelines_cli/cli_commands/deploy.py - About 1 hr to fix

      Too many instance attributes (9/7)
      Open

      class DeployCommand:

      Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.

      Too many arguments (9/5)
      Wontfix

          def __init__(

      Used when a function or method takes too many arguments.

      Too few public methods (1/2)
      Open

      class DeployCommand:

      Used when class has too few public methods, so be sure it's really worth it.

      Too many arguments (8/5)
      Wontfix

          help="Authorization OIDC ID token for a service account to communication with cloud services",

      Used when a function or method takes too many arguments.

      Import outside toplevel (datahub)
      Wontfix

                  import datahub  # noqa: F401

      Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.

      Missing function or method docstring
      Open

          help="Authorization OIDC ID token for a service account to communication with cloud services",

      Used when a function or method has no docstring.Some special methods like init do not require a docstring.

      Import outside toplevel (docker)
      Wontfix

                  import docker

      Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.

      Missing module docstring
      Open

      import io

      Used when a module has no docstring.Empty modules do not require a docstring.

      There are no issues that match your filters.

      Category
      Status