maestro-server/data-app

View on GitHub
app/services/ruler.py

Summary

Maintainability
A
0 mins
Test Coverage
F
34%

Trailing whitespace
Open

    @staticmethod   
Severity: Minor
Found in app/services/ruler.py by pep8

Trailing whitespace is superfluous.

The warning returned varies on whether the line itself is blank,
for easier filtering for those who want to indent their blank lines.

Okay: spam(1)\n#
W291: spam(1) \n#
W293: class Foo(object):\n    \n    bang = 12

Invalid escape sequence '.'
Open

        id = re.search('(^_id)|(\._id)', key)
Severity: Minor
Found in app/services/ruler.py by pep8

Invalid escape sequences are deprecated in Python 3.6.

Okay: regex = r'\.png$'
W605: regex = '\.png$'

There are no issues that match your filters.

Category
Status