matheuswhite/bluebees

View on GitHub
bluebees/client/node/commands/config.py

Summary

Maintainability
B
6 hrs
Test Coverage

File config.py has 430 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from bluebees.client.node.node_data import node_name_list
from bluebees.client.application.application_data import ApplicationData, app_name_list
from bluebees.client.node.node_data import NodeData
from bluebees.client.network.network_data import NetworkData
from bluebees.common.file import file_helper
Severity: Minor
Found in bluebees/client/node/commands/config.py - About 6 hrs to fix

    Line too long (87 > 79 characters)
    Open

    from bluebees.client.application.application_data import ApplicationData, app_name_list

    Limit all lines to a maximum of 79 characters.

    There are still many devices around that are limited to 80 character
    lines; plus, limiting windows to 80 characters makes it possible to
    have several windows side-by-side.  The default wrapping on such
    devices looks ugly.  Therefore, please limit all lines to a maximum
    of 79 characters. For flowing long blocks of text (docstrings or
    comments), limiting the length to 72 characters is recommended.
    
    Reports error E501.

    Line too long (86 > 79 characters)
    Open

    from bluebees.client.mesh_layers.access_layer import check_opcode, check_parameters, \

    Limit all lines to a maximum of 79 characters.

    There are still many devices around that are limited to 80 character
    lines; plus, limiting windows to 80 characters makes it possible to
    have several windows side-by-side.  The default wrapping on such
    devices looks ugly.  Therefore, please limit all lines to a maximum
    of 79 characters. For flowing long blocks of text (docstrings or
    comments), limiting the length to 72 characters is recommended.
    
    Reports error E501.

    There are no issues that match your filters.

    Category
    Status