mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-10 01:08:41 -04:00
8 lines
303 B
Python
8 lines
303 B
Python
import pep8
|
|
|
|
|
|
def test_pep8_comformance():
|
|
''' Test that the code conforms to PEP8 '''
|
|
pep8style = pep8.StyleGuide(config_file='.pep8')
|
|
result = pep8style.check_files(['tsstats.py', 'tests/test_config.py', 'tests/test_general.py', 'tests/test_style.py'])
|
|
assert result.total_errors == 0
|