nopenpilot/selfdrive/car/tests
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
..
.gitignore selfdrive/car 2020-01-17 10:58:43 -08:00
__init__.py Cache FW query (#1025) 2020-01-30 17:57:20 -08:00
test_car_interfaces.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
test_fw_fingerprint.py Python: Replace more lists with generators (#23116) 2021-12-03 22:57:19 -08:00