Commit Graph

9 Commits (55390d273f36f49da3896e687ac5530f40c1d150)

Author SHA1 Message Date
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
Adeeb Shihadeh ee33f8a8cd tools/lib/route: expose raw file paths 2021-11-04 20:32:02 -07:00
Adeeb Shihadeh b6514a5cb3
lib/route: support for e/d cams (#22529)
* lib/route: support for e/d cams

* comment
2021-10-12 00:34:53 -07:00
Willem Melching 3755081145
add qcamera support to Route (#20521) 2021-03-30 11:48:27 +02:00
iejMac d4feecd803
plotjuggler falling back to qlog (#20105)
* fallback to qlogs

* minor fixes

* removed extra line

* help on no args

* Update tools/plotjuggler/juggle.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-02-17 22:59:31 -08:00
Adeeb d9bf9f0a40
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
2020-05-30 20:14:58 -07:00
Greg Hogan f48e39778d support any number of top level dirs 2020-03-06 17:55:42 -08:00
Andy c4af05868b
Tools: Storage API (#1161)
* filereader

* support URLs in filereader, logreader

* unused

* use route files api; add auth file

* Implement browser auth

* Update readme, fix up cache paths

* Add tests, clear token on 401

* Factor out URLFile

* space
2020-02-24 21:24:54 -05:00
George Hotz 29ac3da7b8 merge in tools 2020-01-17 10:07:22 -08:00