Willem Melching
9c291968f6
Speedup URLFile ( #1888 )
...
* add parallel download support to URLFile
* make python 3.8 happy
* Fix chunk size
* Automatic number of threads
* No daemon threads in unlogger
* Cache length
* dont touch old filereader
* Remove debug info
* remove debug script
* Ignore type
old-commit-hash: c70700758d
2020-07-20 17:10:08 +02:00
Adeeb Shihadeh
370a68623e
minor cleanups from LGTM
...
old-commit-hash: 35a5b057c1
2020-07-17 23:34:38 -07:00
George Hotz
5d069eb8c3
Fixups for Mac, and a bunch for PC ( #1654 )
...
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 344a9a3699
2020-06-11 18:21:59 -07:00
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai >
old-commit-hash: 367155168a
2020-06-03 16:13:34 -07:00
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
2020-05-31 12:49:11 -07:00
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
2020-05-31 00:48:47 -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
Willem Melching
2ac27def5a
Running pre-commit in CI ( #1590 )
...
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
old-commit-hash: ba2ac1207a
2020-05-28 15:40:48 -07:00
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b2
2020-05-28 15:05:04 -07:00
Willem Melching
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740
2020-05-27 20:33:05 -07:00
Willem Melching
c0866d9edb
pre-commit pylint ( #1580 )
...
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan >
old-commit-hash: bd06434243
2020-05-27 20:00:14 -07:00
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b3
2020-05-09 16:40:43 -07:00
George Hotz
d47b2ef576
More LGTM fixups ( #1457 )
...
* exclude lib dirs, fix 3 cpp errors
* fix more alerts, exclude mkvparse
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: e568d3cadc
2020-05-02 20:00:41 -07:00
George Hotz
6fbcde48e5
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 >
old-commit-hash: 1295cfe06c
2020-05-02 12:07:34 -07:00
Willem Melching
4ce92ab902
Handle loop and multiple publishers
...
old-commit-hash: e2493c2221
2020-04-30 14:33:58 -07:00
Willem Melching
66f55e9837
remove pyqt5
...
old-commit-hash: bb02a565b5
2020-04-29 13:11:12 -07:00
Willem Melching
d4f6703e3f
No looping
...
old-commit-hash: c4f62b4b8e
2020-04-28 15:30:11 -07:00
Willem Melching
54cf07960f
Also catch ValueError from framereader
...
old-commit-hash: 794cfcf043
2020-04-28 15:13:45 -07:00
Willem Melching
12101b1394
Unlog segments in a 100 lines
...
old-commit-hash: 8068fee939
2020-04-28 15:12:06 -07:00
George Hotz
376c18b3b2
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
...
old-commit-hash: abad49110e
2020-04-24 13:45:34 -07:00
George Hotz
877dbc352a
who is ready for big model?
...
old-commit-hash: 144b37728f
2020-04-21 20:23:49 -07:00
George Hotz
8e5bc222f8
getenv SCALE
...
old-commit-hash: ab9fa22dcc
2020-04-21 15:27:12 -07:00
George Hotz
b2d3f725e2
fix camera.py
...
old-commit-hash: b9f588245c
2020-04-21 14:59:15 -07:00
George Hotz
6eadd3bbaa
view sensorium
...
old-commit-hash: 2ed92dfdbe
2020-04-21 11:54:02 -07:00
Willem Melching
f821def1eb
Handle 2x scaling in plot drawing
...
old-commit-hash: e816467eb5
2020-04-14 12:51:25 -07:00
George Hotz
cf04af0098
mac fixes
...
old-commit-hash: 2a199f867d
2020-02-29 18:30:44 -08:00
Willem Melching
541a39204a
fix time input in unlogger
...
old-commit-hash: 5dcb0488c6
2020-02-26 10:27:16 -08:00
Adeeb
e3cb9b937c
test car models: fix random hanging ( #1055 )
...
* debug print
* unlogger doesn't need fcamera.hevc
* only need the rlog
* tiemout for log downloading
* try again after timeout
old-commit-hash: 30dffb486a
2020-02-06 10:53:59 -08:00
George Hotz
99c5800ea5
merge in tools
...
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00