pre-commit pylint (#1580)

* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
-  pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344

* add pylint to pre-commit and make everything pass

* Remove uncommented stuff

Co-authored-by: J <user@4800.lan>
old-commit-hash: bd0643424357864287ae0485da03f66df85e1fb1
This commit is contained in:
Willem Melching
2020-05-27 20:00:14 -07:00
committed by GitHub
parent 834f6c383a
commit c0866d9edb
28 changed files with 97 additions and 140 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3
from multiprocessing import Process
from setproctitle import setproctitle
from setproctitle import setproctitle # pylint: disable=no-name-in-module
import os
import numpy as np
from common.realtime import sec_since_boot
@@ -32,4 +32,3 @@ def main(gctx=None):
if __name__ == "__main__":
main()