shmilylty/OneForAll

View on GitHub
common/module.py

Summary

Maintainability
B
6 hrs
Test Coverage

File module.py has 342 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""
Module base class
"""

import json
Severity: Minor
Found in common/module.py - About 4 hrs to fix

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

        def get(self, url, params=None, check=True, ignore=False, raise_error=False, **kwargs):
    Severity: Major
    Found in common/module.py - About 50 mins to fix

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

          def head(self, url, params=None, check=True, **kwargs):
      Severity: Minor
      Found in common/module.py - About 35 mins to fix

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

            def post(self, url, data=None, check=True, **kwargs):
        Severity: Minor
        Found in common/module.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status