Josh Smith
2cae3a3799
Add type hints, small cleanups ( #21080 )
...
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
old-commit-hash: 77321dbac4
2021-06-03 12:21:04 +02: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
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
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
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
George Hotz
67176f1211
Simulator running with keyboard ( #1176 )
...
* sim with keyboard
* write calibration
* need recv
* use readchar
* doesn't accelerate
* queue, not zmq
* fix line wrap
* fix physics
* add BLOCK to manager
old-commit-hash: 9d8d7ade3e
2020-02-29 10:51:39 -08:00
ZwX1616
c44b4a9ac6
WIP: sim, need to unhack openpilot ( #1174 )
...
* comma hackathon
* update readme
* update readme
* Update README.md
* Update README.md
* Update README.md
* add more to readme
* Update README.md
* unhack
* Delete README.md
* Delete get_carla_095.sh
* Delete run_carla_095.sh
* remove NO_FLIP, and fix imu destroy
* remove pipfile
* make ui match
* actually match ui
Co-authored-by: George Hotz <geohot@gmail.com >
old-commit-hash: 78ba94a977
2020-02-29 02:18:17 -08:00