Enable more flake8 checks (#1602)

* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
old-commit-hash: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
This commit is contained in:
Adeeb
2020-05-30 20:14:58 -07:00
committed by GitHub
parent 2ee34128d0
commit 5e857427ba
79 changed files with 179 additions and 164 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ def replace_right(s, old, new, occurrence):
# replace_right('1232425', '2', ' ', 2) -> '123 4 5'
split = s.rsplit(old, occurrence)
return new.join(split)
return new.join(split)