# Diff Quality

Quality Report: pylint

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

Source File | Diff Quality (%) | Lines in violation
--- | --- | ---
violations_test_file.py | 66.7% | 1: C0111: (missing-docstring), : Missing module docstring 1: C0111: (missing-docstring), func_1: Missing function docstring 2: C0326: (bad-whitespace), : Exactly one space required around comparison 11: C0326: (bad-whitespace), : Exactly one space required around assignment 11: W0612: (unused-variable), func_2: Unused variable 'unused'

- Total: 9 lines
- Violation: 3 lines
- % Quality: 66%

violations_test_file.py

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

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