data_pipelines_cli/cli_commands/deploy.py
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def __init__(
Function deploy_command
has 8 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def deploy_command(
Too many instance attributes (9/7) Open
Open
class DeployCommand:
- Read upRead up
- Exclude checks
Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.
Too few public methods (1/2) Open
Open
class DeployCommand:
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too many arguments (8/5) Wontfix
Wontfix
help="Authorization OIDC ID token for a service account to communication with cloud services",
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.
Too many arguments (9/5) Wontfix
Wontfix
def __init__(
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.
Missing module docstring Open
Open
import io
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
Missing function or method docstring Open
Open
help="Authorization OIDC ID token for a service account to communication with cloud services",
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Import outside toplevel (datahub) Wontfix
Wontfix
import datahub # noqa: F401
- Read upRead up
- Exclude checks
Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.
Import outside toplevel (docker) Wontfix
Wontfix
import docker
- Read upRead up
- Exclude checks
Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.