Commit Graph

19 Commits

Author SHA1 Message Date
Adeeb Shihadeh
1680f1e251 can_print_changes improvements 2022-03-10 14:32:19 -08:00
Greg Hogan
d5f4fdb1db eliminate xx filereader (#23514)
* eliminate xx filereader

* framereader cleanup
2022-01-13 15:56:54 -08:00
Adeeb Shihadeh
bbb47dc860 MultiLogIterator: fix after adding sort_by_time 2022-01-02 20:08:57 -08:00
Adeeb Shihadeh
92f194decc MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
Greg Hogan
9992ea1ae8 LogReader: add arg to sort by time (#23346)
* logreader optional sort by time

* robust logreader sort by time option
2022-01-02 11:56:53 -08: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
Adeeb Shihadeh
c8356d3b8f MultiLogIterator: default wraparound to false 2021-12-02 08:14:48 -08:00
Adeeb Shihadeh
01b99eae35 logreader: remove log path print 2021-11-29 13:44:20 -08:00
Greg Hogan
78808961c5 fix log values with non-utf8 characters and remove index_log (#20173)
* remove index_log

* handle non-unicode characters in values

* dump.py better handling of printing non-unicode characters

* only replace errors in main
2021-03-01 13:03:44 -08:00
Greg Hogan
1e6c7c94e4 fix pylint errors 2020-09-03 18:46:13 -07:00
Adeeb
367155168a Update Flake8 config (#1624)
* update flake8 checks

* add E502

* no whitespace warnings

* fix violations

* no W391

Co-authored-by: Jason Young <jason@comma.ai>
2020-06-03 16:13:34 -07:00
George Hotz
e568d3cadc More LGTM fixups (#1457)
* exclude lib dirs, fix 3 cpp errors

* fix more alerts, exclude mkvparse

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 20:00:41 -07:00
George Hotz
1295cfe06c Using lgtm.com and fixing found alerts (#1452)
* lgtm in readme, and mac nui fixes

* call super inits in radars

* unused imports, dup lines

* more radars, more unused imports

* pass CP into RadarInterfaceBase

* more fixups

* unused imports

* delete unused lines

* ugh, new unused import

Co-authored-by: George Hotz <geohot@gmail.com>
2020-05-02 12:07:34 -07:00
Willem Melching
845abed5db Build log_index using scons 2020-04-30 16:26:11 -07:00
George Hotz
2f2b85581c Add sentinels to logs and qlogs (#1205)
* sentinel WIP

* logger is now a cc, not a c

* simpler code doesn't touch loggerd.cc

* oops, double lock. and logreader is nicer
2020-03-05 14:29:34 -08:00
Andy Haden
4a94e507cf Revert "no more xx imports in tools"
This reverts commit 1f9485171e.
2020-02-25 11:36:02 -08:00
Willem Melching
1f9485171e no more xx imports in tools 2020-02-25 11:06:27 -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