Linter python (#299)

* Added pyflakes and Pylint for python

* Actually run linter in CI

* some simple pyflakes changes

* Add flake8 to panda reqs for linter test

* flake8 errors are fixed

* run flake8 in regression tests

* meant to run flake8

* hack to ignore unused import

* bug

* fix bugs in tucan_loopback

* Another fix by using set_safety_mode

* added pylintrc file

* more fixes and enabled pylint as well

* Fix pylint in circleci

* added linter to readme
This commit is contained in:
rbiasini
2019-10-15 14:03:31 -07:00
committed by GitHub
parent 62e2f5caac
commit fce38a91d7
52 changed files with 757 additions and 145 deletions

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env python3
import binascii
import csv
import sys

View File

@@ -13,10 +13,8 @@
# 0,344,c000c00000000000
import binascii
import csv
import sys
from panda import Panda
class Message():
"""Details about a specific message ID."""

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env python3
import sys
from panda import Panda
def get_panda_password():

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import time
import struct
import binascii
from panda import Panda
from hexdump import hexdump
from panda.python.isotp import isotp_send, isotp_recv