Commit Graph

9 Commits

Author SHA1 Message Date
Ewout ter Hoeven
55390d273f Convert format strings strings to f-strings (#23241)
* Convert all text strings to f-strings

Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.

Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.

F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale

* revert pyextra changes

* revert ublox.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-16 14:58:17 +01:00
Willem Melching
59accdd814 do not run on import 2021-10-26 14:49:51 +02:00
Adeeb Shihadeh
e5575a6a4c Remove ignored CAN fingerprints (#20994)
* VW is all FW

* fix test

* toyota

* honda

* hyundai

* remove IGNORED_FINGERPRINTS

* toyota
2021-05-24 13:50:10 -07:00
Arne Schwarck
3db63b781d Do we still need this? (#1290)
Tesla is not supported so do we still need this here as VW uses 840 in their FP
2020-03-29 12:25:15 -07:00
rbiasini
093d6cb5ff Fingerprint cleanup (#1231)
* upd panda and opendbc

* Delete unnecessary fingerprints, fix RavH occasional test issue, re-enable test error for overlapping fingerprints within the same candidate
2020-03-11 14:32:03 -07:00
Willem Melching
6eca88e9bc ignore IGNORED_FINGERPRINTS in fingerprint test 2020-02-27 13:14:59 -08:00
Willem Melching
f26f085a36 Add fingerprint for 2019 Chrysler Pacifica Hybrid 2020-02-14 15:35:39 -08:00
Willem Melching
e2253b072e fix fingerprint test 2020-02-13 16:53:41 -08:00
George Hotz
c0bfbc12c7 selfdrive/test 2020-01-17 11:16:14 -08:00