enable almost all flake8 checks

master
Adeeb Shihadeh 2020-06-01 02:03:03 -07:00
parent 4c59163aa3
commit 1f1ff225bd
5 changed files with 11 additions and 8 deletions

View File

@ -15,7 +15,8 @@ repos:
hooks:
- id: flake8
args:
- --select=F
- --ignore=E111,E114,E121,E124,E302,E501,E741
- --statistics
- repo: local
hooks:
- id: pylint

View File

@ -12,6 +12,7 @@ def int_or_float(s):
else:
return float(s)
DBCSignal = namedtuple(
"DBCSignal", ["name", "start_bit", "size", "is_little_endian", "is_signed",
"factor", "offset", "tmin", "tmax", "units"])

View File

@ -122,5 +122,6 @@ def main():
process(in_fn, out_fn)
if __name__ == '__main__':
main()