tidalf/plugin.audio.qobuz

View on GitHub
resources/lib/qobuz/node/__init__.py

Summary

Maintainability
A
35 mins
Test Coverage

Function getNode has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def getNode(qnt, parameters=None, data=None, parent=None, **ka):
Severity: Minor
Found in resources/lib/qobuz/node/__init__.py - About 35 mins to fix

    Rename function "getNode" to match the regular expression ^[a-z_][a-z0-9_]{2,}$.
    Open

    def getNode(qnt, parameters=None, data=None, parent=None, **ka):

    Shared coding conventions allow teams to collaborate efficiently. This rule checks that all function names match a provided regular expression.

    Noncompliant Code Example

    With the default provided regular expression: ^[a-z_][a-z0-9_]{2,30}$

    def MyFunction(a,b):
        ...
    

    Compliant Solution

    def my_function(a,b):
        ...
    

    There are no issues that match your filters.

    Category
    Status