qutip/_mkl/spsolve.py

Summary

Maintainability
A
45 mins
Test Coverage

Function __init__ has 12 arguments (exceeds 10 allowed). Consider refactoring.
Open

    def __init__(self, np_pt=None, dim=None, is_complex=None, data=None,
Severity: Major
Found in qutip/_mkl/spsolve.py - About 45 mins to fix

    Inline comment should start with '# '
    Open

    if sys.maxsize > 2**32: #Running 64-bit
    Severity: Minor
    Found in qutip/_mkl/spsolve.py by pep8

    Separate inline comments by at least two spaces.

    An inline comment is a comment on the same line as a statement.
    Inline comments should be separated by at least two spaces from the
    statement. They should start with a # and a single space.
    
    Each line of a block comment starts with a # and a single space
    (unless it is indented text inside the comment).
    
    Okay: x = x + 1  # Increment x
    Okay: x = x + 1    # Increment x
    Okay: # Block comment
    E261: x = x + 1 # Increment x
    E262: x = x + 1  #Increment x
    E262: x = x + 1  #  Increment x
    E265: #Block comment
    E266: ### Block comment

    At least two spaces before inline comment
    Open

    if sys.maxsize > 2**32: #Running 64-bit
    Severity: Minor
    Found in qutip/_mkl/spsolve.py by pep8

    Separate inline comments by at least two spaces.

    An inline comment is a comment on the same line as a statement.
    Inline comments should be separated by at least two spaces from the
    statement. They should start with a # and a single space.
    
    Each line of a block comment starts with a # and a single space
    (unless it is indented text inside the comment).
    
    Okay: x = x + 1  # Increment x
    Okay: x = x + 1    # Increment x
    Okay: # Block comment
    E261: x = x + 1 # Increment x
    E262: x = x + 1  #Increment x
    E262: x = x + 1  #  Increment x
    E265: #Block comment
    E266: ### Block comment

    There are no issues that match your filters.

    Category
    Status