Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
ntegan1
07f7570840
Tools: allow using plotjuggler on local data ( #24473 )
...
local juggler
2022-05-17 19:50:23 +02:00
ntegan1
bf269bd883
Tools: allow uncompressed logs ( #24471 )
2022-05-09 12:07:19 -07:00
Adeeb Shihadeh
7d7c0ff35f
tools: add bootlog helpers ( #23504 )
...
* tools: add bootlog helpers
* this is nice
* types
2022-01-12 21:37:43 -08:00
Greg Hogan
71132edf17
plotjuggler: support segment names ( #23263 )
...
* plotjuggler: support segment names
* update docs
* generic parser
* convert segment number to int when parsing
* add SegmentName
Co-authored-by: Willem Melching <willem.melching@gmail.com >
2022-01-04 15:55:46 +01:00
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
2021-12-24 11:18:39 -08: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
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