* 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
* remove index_log
* handle non-unicode characters in values
* dump.py better handling of printing non-unicode characters
* only replace errors in main
old-commit-hash: 78808961c5
* selfdrive: add sys module to exit call
exit() is a helper for interactive shell. Let's explicit
use the module sys.
* selfdrive: tomstoned.py use constant for /data/tombstones/
Instead of use multiple times a string for
the data dir, use a variable.
old-commit-hash: 5a9d89ed42