Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c73b47c52b5dd77a8f1f8858005ae18b
2020-05-31 17:21:11 -07:00
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c36b82ef4040e536cc918ba8ad77bec
2020-05-31 14:07:29 -07:00
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e727c70065fdbe7499ec9e009dfd282
2020-05-31 12:49:11 -07:00
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8e7809960cc1f2bad9a582801d5a83e
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: d9bf9f0a4036f55411f6dfbb438990a5eb7f4930
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: ba2ac1207a554d277e01af5b9514de4500d4f66a
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: 3d08dcc3b27936cb14c0eae63605be9a6c077380
2020-05-28 15:05:04 -07:00
Willem Melching
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740b5dae3c1cc0c273c72c7eb53135e5e
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: bd0643424357864287ae0485da03f66df85e1fb1
2020-05-27 20:00:14 -07:00
Adeeb
64b69bda50
LGTM fixes ( #1480 )
...
old-commit-hash: 008700a6b39c3fefe1233fca9adf85cb3413b5b8
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: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
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: 1295cfe06cd80a2c2f40e0af97697ee818037f08
2020-05-02 12:07:34 -07:00
Willem Melching
4ce92ab902
Handle loop and multiple publishers
...
old-commit-hash: e2493c2221ca6dc5a2eceb4d9fb1a46fa62c7e9c
2020-04-30 14:33:58 -07:00
Willem Melching
66f55e9837
remove pyqt5
...
old-commit-hash: bb02a565b574a8935089bfc1155a3b8ee8af3e87
2020-04-29 13:11:12 -07:00
Willem Melching
d4f6703e3f
No looping
...
old-commit-hash: c4f62b4b8e6720aaccb8cb64882cba8b62992189
2020-04-28 15:30:11 -07:00
Willem Melching
54cf07960f
Also catch ValueError from framereader
...
old-commit-hash: 794cfcf043f5e4527ad42f3930612d590f72af14
2020-04-28 15:13:45 -07:00
Willem Melching
12101b1394
Unlog segments in a 100 lines
...
old-commit-hash: 8068fee939d11df844dceb0479e22d082833783d
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: abad49110e07cdfc0861978bacb44527c28fdfcf
2020-04-24 13:45:34 -07:00
George Hotz
877dbc352a
who is ready for big model?
...
old-commit-hash: 144b37728f24e20a9429b7ffa140d226de147bec
2020-04-21 20:23:49 -07:00
George Hotz
8e5bc222f8
getenv SCALE
...
old-commit-hash: ab9fa22dcc5d6e02787813f370bf7f59a9a91a93
2020-04-21 15:27:12 -07:00
George Hotz
b2d3f725e2
fix camera.py
...
old-commit-hash: b9f588245cee6fc6a58d7906ea93cc75c1d416e5
2020-04-21 14:59:15 -07:00
George Hotz
6eadd3bbaa
view sensorium
...
old-commit-hash: 2ed92dfdbe58feb7d0a3c6969eefdc6032963e07
2020-04-21 11:54:02 -07:00
Willem Melching
f821def1eb
Handle 2x scaling in plot drawing
...
old-commit-hash: e816467eb5a6fb7b933225a871dc8ad339a17e68
2020-04-14 12:51:25 -07:00
George Hotz
cf04af0098
mac fixes
...
old-commit-hash: 2a199f867d23c08de5923a5c07fede0ac74d83be
2020-02-29 18:30:44 -08:00
Willem Melching
541a39204a
fix time input in unlogger
...
old-commit-hash: 5dcb0488c60e746cb87abd6e6ed59f2e82baeae9
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