12 lines
340 B
Python
12 lines
340 B
Python
import pycodestyle
|
|
|
|
# Tests files to ensure they conform to pep8 standards
|
|
|
|
|
|
def test_pep8_conformance():
|
|
"""Test that we conform to PEP8."""
|
|
pep8style = pycodestyle.StyleGuide()
|
|
dirs = ["./controllers", "./models", "./scripts", "./tests", "./utils"]
|
|
result = pep8style.check_files(dirs)
|
|
assert result.total_errors == 0
|