Commit Graph

12 Commits

Author SHA1 Message Date
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
George Hotz bf852115bf improve profiler
old-commit-hash: f65f7051c4
2020-10-09 18:39:54 -07:00
Adeeb 5e857427ba Enable more flake8 checks (#1602)
* enable some more flake8 checks

* some more quick ones

* bump opendbc

* e401

* e711 e712

* e115 e116

* e222

* e301

* remove that

* e129

* e701 e702

* e125 e131

* e227

* e306

* e262

* W503

* e713

* e704

* e731

* bump opendbc

* fix some e722
old-commit-hash: d9bf9f0a40
2020-05-30 20:14:58 -07:00
George Hotz 75590c1f95 improve printing in profiler
old-commit-hash: 42fb2b4737
2020-04-27 12:12:40 -07:00
George Hotz b1f13418e1 common folder
old-commit-hash: e8d888c45b
2020-01-17 10:28:44 -08:00
George Hotz 81dd5a50cf root commit
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher 89d1d84c70 openpilot v0.6.5 release
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher e41a943dd0 openpilot v0.5 release
old-commit-hash: de33bc4645
2018-07-12 18:52:06 -07:00
Vehicle Researcher df22dac4f6 openpilot v0.4.3 release
old-commit-hash: 9a411ebf32
2018-03-17 00:01:50 -07:00
Vehicle Researcher d9578e2f8e openpilot v0.4.0.1 release
old-commit-hash: a77c0a1098
2017-12-23 17:15:27 -08:00
Vehicle Researcher 2c0cc6103a openpilot v0.3.7 release
old-commit-hash: daf54ad54d
2017-09-30 19:05:03 -07:00
Vehicle Researcher 364c65e7fc openpilot v0.2.2 release
old-commit-hash: a64b9aa9b8
2017-01-10 11:10:04 -08:00