Ryan
0dbb4fb3b0
Add more type hinting ( #23595 )
...
* Add more type hinting.
* Revert joystick_alert changes.
* Add typing to statsd.
* Update selfdrive/statsd.py
* Update selfdrive/test/test_fingerprints.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: aa9e635311
2022-01-21 15:11:16 -08:00
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
old-commit-hash: 332f568a82
2021-12-24 11:18:39 -08:00
Ewout ter Hoeven
a962365292
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 55390d273f
2021-12-16 14:58:17 +01:00
Willem Melching
116ae68bdb
do not run on import
...
old-commit-hash: 59accdd814
2021-10-26 14:49:51 +02:00
Adeeb Shihadeh
e58a495396
Remove ignored CAN fingerprints ( #20994 )
...
* VW is all FW
* fix test
* toyota
* honda
* hyundai
* remove IGNORED_FINGERPRINTS
* toyota
old-commit-hash: e5575a6a4c
2021-05-24 13:50:10 -07:00
Arne Schwarck
62bdef3861
Do we still need this? ( #1290 )
...
Tesla is not supported so do we still need this here as VW uses 840 in their FP
old-commit-hash: 3db63b781d
2020-03-29 12:25:15 -07:00
rbiasini
406d2d0d32
Fingerprint cleanup ( #1231 )
...
* upd panda and opendbc
* Delete unnecessary fingerprints, fix RavH occasional test issue, re-enable test error for overlapping fingerprints within the same candidate
old-commit-hash: 093d6cb5ff
2020-03-11 14:32:03 -07:00
Willem Melching
839facab15
ignore IGNORED_FINGERPRINTS in fingerprint test
...
old-commit-hash: 6eca88e9bc
2020-02-27 13:14:59 -08:00
Willem Melching
f4b936dc2f
Add fingerprint for 2019 Chrysler Pacifica Hybrid
...
old-commit-hash: f26f085a36
2020-02-14 15:35:39 -08:00
Willem Melching
d11cfbe33e
fix fingerprint test
...
old-commit-hash: e2253b072e
2020-02-13 16:53:41 -08:00
George Hotz
06a02fd8bd
selfdrive/test
...
old-commit-hash: c0bfbc12c7
2020-01-17 11:16:14 -08:00
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
2020-01-17 10:02:52 -08:00
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
2019-12-13 13:03:08 -08:00
Vehicle Researcher
b713eae9f8
openpilot v0.6.6 release
...
old-commit-hash: d7f0b402a8
2019-11-04 15:13:52 -08:00
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
2019-10-09 18:43:53 +00:00
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
2019-06-28 21:11:30 +00:00
Vehicle Researcher
83dfc3ca1f
openpilot v0.5.11 release
...
old-commit-hash: 2f92d577f9
2019-04-23 01:41:19 +00:00
Vehicle Researcher
30f7a33535
openpilot v0.5.10 release
...
old-commit-hash: f74a201edc
2019-03-26 01:09:18 -07:00