Adeeb
ab83e48ec4
Add pre-commit hooks ( #1629 )
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
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
Greg Hogan
d112a58366
FrameReader env vars FFMPEG_THREADS and FFMPEG_CUDA
5 years ago
Willem Melching
3d08dcc3b2
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
5 years ago
Greg Hogan
2d0686faa1
framereader single threaded env var
5 years ago
Willem Melching
639cf2288f
framereader only has to support h265 and raw ( #1588 )
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
Willem Melching
43f7fe178d
not needed
5 years ago
Willem Melching
43873c9600
use system capnp
5 years ago
Willem Melching
cd79cee41a
ffprobe use -f instead of -format
5 years ago
Adeeb Shihadeh
a25d535793
Revert "function doesn't have that arg"
...
This reverts commit d712d9cf3b
.
5 years ago
Adeeb Shihadeh
d712d9cf3b
function doesn't have that arg
5 years ago
Greg Hogan
0b5758f1be
framereader index data as param
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
845abed5db
Build log_index using scons
5 years ago
George Hotz
d4f8943075
more red diffs, remove hevc framereader stuff and two unused classes
5 years ago
Greg Hogan
f48e39778d
support any number of top level dirs
5 years ago
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
5 years ago
Andy Haden
327a255a1a
tools: Print auth url to console
5 years ago
Andy Haden
4a94e507cf
Revert "no more xx imports in tools"
...
This reverts commit 1f9485171e
.
5 years ago
Willem Melching
1f9485171e
no more xx imports in tools
5 years ago
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
5 years ago
George Hotz
29ac3da7b8
merge in tools
5 years ago