v1.7.0 #8

Merged
meierj merged 40 commits from develop into master 2021-07-26 18:17:09 +02:00
Showing only changes of commit 96e9f26fd0 - Show all commits

15
lint.py Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env python3
import os
import sys
def main():
status = os.system("flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics")
if os.WEXITSTATUS(status) != 0:
print("Flake8 linter errors")
sys.exit(0)
os.system("flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics")
if __name__ == "__main__":
main()