Commit Graph

13 Commits

Author SHA1 Message Date
Shane Smiskol
69d4b0fdf0 ruff: check shadowed variables (#32851)
* check shadowed variables

* fix
2024-06-27 14:44:26 -07:00
Adeeb Shihadeh
d61f86d339 replace custom clock helpers with time module (#29499)
* replace custom clock stuff wtih time module

* fix double

* fix release

* bump cereal

* update type

* fix one more
2023-08-20 18:50:58 -07:00
Adeeb Shihadeh
28a08ff12e can_printer: add frequency 2022-05-12 17:07:32 -07:00
Willem Melching
6d16b0c02b can_printer.py: default no ascii 2022-01-13 15:50:50 +01:00
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
112df19d38 add some docs for selfdrive/debug 2021-10-12 20:17:12 -07:00
Dean Lee
43a846843f c++ replay: support local routes (#22288)
* support local route

* kind of works

* works

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-12 00:51:22 -07:00
Adeeb Shihadeh
2f2b9116d4 set arg types 2021-10-11 20:41:28 -07:00
Adeeb Shihadeh
2456296858 fix decode errors in can printer 2021-10-11 20:06:00 -07:00
Adeeb Shihadeh
14a1441cbb show ascii in can printer 2021-10-11 20:03:35 -07:00
Adeeb Shihadeh
683ddeebc8 add arg parser to can printer 2021-10-11 19:47:49 -07:00
Adeeb Shihadeh
efd5dffb1e enable flake8 E231: missing whitespace after comma 2020-05-31 12:49:11 -07:00
George Hotz
f467642a1c selfdrive/debug 2020-01-17 11:23:21 -08:00