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>
5 years ago
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
5 years ago
Adeeb Shihadeh
f3dcf861c7
enable flake8 E303: too many blank lines
5 years ago
Adeeb Shihadeh
27754a277c
enable E261 in flake8: two spaces before inline comment
5 years ago
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
5 years ago
Adeeb
6051061ff8
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
5 years ago
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
5 years ago
Willem Melching
ba2ac1207a
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
5 years ago
Willem Melching
3d08dcc3b2
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
5 years ago
Willem Melching
29aaa44740
flake8 in pre-commit( #1583 )
5 years ago
Willem Melching
bd06434243
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>
5 years ago
Adeeb
008700a6b3
LGTM fixes ( #1480 )
5 years ago
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>
5 years ago
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>
5 years ago
Willem Melching
e2493c2221
Handle loop and multiple publishers
5 years ago
Willem Melching
bb02a565b5
remove pyqt5
5 years ago
Willem Melching
c4f62b4b8e
No looping
5 years ago
Willem Melching
794cfcf043
Also catch ValueError from framereader
5 years ago
Willem Melching
8068fee939
Unlog segments in a 100 lines
5 years ago
George Hotz
abad49110e
delete more unused, now under 40k lines of python. framereader needs to be ported to C++
5 years ago
George Hotz
144b37728f
who is ready for big model?
5 years ago
George Hotz
ab9fa22dcc
getenv SCALE
5 years ago
George Hotz
b9f588245c
fix camera.py
5 years ago
George Hotz
2ed92dfdbe
view sensorium
5 years ago
Willem Melching
e816467eb5
Handle 2x scaling in plot drawing
5 years ago
George Hotz
2a199f867d
mac fixes
5 years ago
Willem Melching
5dcb0488c6
fix time input in unlogger
5 years ago
Adeeb
30dffb486a
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
5 years ago
George Hotz
29ac3da7b8
merge in tools
5 years ago