nopenpilot/selfdrive/hardware
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
..
eon androidd: reduce cloudlog spam 2021-12-13 17:42:15 -08:00
pc thermald: track power usage / pmic temps (#23013) 2021-11-23 16:08:20 -08:00
tici Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
.gitignore diag logging (#21360) 2021-06-23 23:53:22 -07:00
__init__.py HW abstraction layer (#19530) 2020-12-16 21:30:23 -08:00
base.h soundd: misc cleanup + tests (#22796) 2021-11-09 14:18:29 -08:00
base.py thermald: track power usage / pmic temps (#23013) 2021-11-23 16:08:20 -08:00
hw.h HardwarePC::TICI() : use util::getenv (#22532) 2021-10-14 14:23:05 -07:00