git.schokokeks.org
Repositories
Help
Report an Issue
freewvs.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
0e178ac
Branches
Tags
master
v0.1.1
v0.1.2
v0.1.3
v0.1.4
freewvs.git
tests
test_pycodestyle.py
add codingstyle and json linting tests
Hanno Böck
commited
0e178ac
at 2019-12-12 18:29:13
test_pycodestyle.py
Blame
History
Raw
import unittest import subprocess import glob class TestCodingstyle(unittest.TestCase): def test_codingstyle(self): subprocess.run(["pycodestyle", "--ignore=W503", "freewvs"] + glob.glob("tests/*.py"), check=True) subprocess.run(["pyflakes", "freewvs"] + glob.glob("tests/*.py"), check=True) if __name__ == '__main__': unittest.main()