tidalf/plugin.audio.qobuz

View on GitHub
resources/lib/qobuz/xbmcrpc.py

Summary

Maintainability
A
0 mins
Test Coverage

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

def getInfoLabels(**ka):
Severity: Major
Found in resources/lib/qobuz/xbmcrpc.py by sonar-python

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):
    ...

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

def showNotification(**ka):
Severity: Major
Found in resources/lib/qobuz/xbmcrpc.py by sonar-python

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