getindata/data-pipelines-cli

View on GitHub
data_pipelines_cli/cli_commands/generate/model_yaml.py

Summary

Maintainability
A
0 mins
Test Coverage
A
94%

Function _generate_model_yamls_for_directory has 5 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

def _generate_model_yamls_for_directory(
Severity: Minor
Found in data_pipelines_cli/cli_commands/generate/model_yaml.py - About 35 mins to fix

    Too few public methods (0/2)
    Open

    class MacroArgName(TypedDict):

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

    Missing module docstring
    Open

    import json

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

    Missing class docstring
    Open

    class MacroArgName(TypedDict):

    Used when a class has no docstring.Even an empty class must have a docstring.

    Missing function or method docstring
    Open

        type=click.Path(exists=True, path_type=pathlib.Path, file_okay=False, dir_okay=True),

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

    Missing function or method docstring
    Open

    def generate_model_yamls(

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

    There are no issues that match your filters.

    Category
    Status