portfoliome/foil

View on GitHub
foil/fileio.py

Summary

Maintainability
A
3 hrs
Test Coverage

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

    def from_zipfile(cls, path, filename, encoding, dialect, fields,
Severity: Major
Found in foil/fileio.py - About 50 mins to fix

    Function from_file has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def from_file(cls, path, encoding, dialect, fields, converters, field_index):
    Severity: Minor
    Found in foil/fileio.py - About 45 mins to fix

      Function from_zipfile has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def from_zipfile(cls, path, filename, encoding, dialect, fields, converters):
      Severity: Minor
      Found in foil/fileio.py - About 45 mins to fix

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

            def from_file(cls, path, encoding, dialect, fields, converters):
        Severity: Minor
        Found in foil/fileio.py - About 35 mins to fix

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

              def __init__(self, stream, dialect: csv.Dialect, fields: list,
          Severity: Minor
          Found in foil/fileio.py - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status