openpilot0/selfdrive/camerad
Ewout ter Hoeven a962365292 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>
old-commit-hash: 55390d273f
2021-12-16 14:58:17 +01:00
..
cameras comma two: remove lens sag compensation (#23113) 2021-12-14 13:29:59 +01:00
imgproc LapConv: remove hardcoded FULL_STRIDE_X (#23200) 2021-12-13 15:53:44 +01:00
include
snapshot Python: Replace more lists with generators (#23116) 2021-12-03 22:57:19 -08:00
test Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
transforms add space after function name and if statement (#21225) 2021-06-11 10:17:52 +02:00
SConscript camerad: remove camera frame stream (#23045) 2021-11-27 21:58:21 -08:00
__init__.py
main.cc util: move all functions into util namespace (#23203) 2021-12-12 14:42:23 -08:00