PyCharm shows “PEP8: expected 2 blank lines, found 1” May 15, 2023 by Tarik Just add another line between your function definitions : 1 line : 2 lines: