# Diff Quality

Quality Report: pylint

Diff: origin/main...HEAD, staged and unstaged changes

Source File | Diff Quality (%) | Lines in violation
--- | --- | ---
violations_test_file.py | 77.8% | 1: C0114: (missing-module-docstring), : Missing module docstring 1: C0116: (missing-function-docstring), func_1: Missing function or method docstring 11: W0612: (unused-variable), func_2: Unused variable 'unused'

- Total: 9 lines
- Violation: 2 lines
- % Quality: 77%

violations_test_file.py

    1
    2
    3
    4
    5
    def func_1(apple, my_list):
        if apple<10:
            # Do something
            my_list.append(apple)
        return my_list[1:]

     7
     8
     9
    10
    11
    12
        """A less messy function"""
        for char in spongebob:
            if char in squarepants:
                return char
        unused=1
        return None