WenjieDu/PyPOTS

View on GitHub
pypots/nn/modules/autoformer/layers.py

Summary

Maintainability
B
4 hrs
Test Coverage

File layers.py has 260 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""

"""

# Created by Wenjie Du <wenjay.du@gmail.com>
Severity: Minor
Found in pypots/nn/modules/autoformer/layers.py - About 2 hrs to fix

    Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(
    Severity: Major
    Found in pypots/nn/modules/autoformer/layers.py - About 1 hr to fix

      Function __init__ has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Major
      Found in pypots/nn/modules/autoformer/layers.py - About 50 mins to fix

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

            def forward(
        Severity: Minor
        Found in pypots/nn/modules/autoformer/layers.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status