nopenpilot/common/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
..
__init__.py common folder 2020-01-17 10:28:44 -08:00
test_file_helpers.py Convert format strings strings to f-strings (#23241) 2021-12-16 14:58:17 +01:00
test_markdown.py ui: render markdown in release notes (#22754) 2021-11-04 16:12:39 +01:00
test_numpy_fast.py flake8 in pre-commit(#1583) 2020-05-27 20:33:05 -07:00
test_params.py Less open file permissions (#21922) 2021-08-28 18:25:05 -07:00
test_xattr.py Simple improvements for quality gate (#2517) 2020-11-12 14:48:45 -08:00