Commit Graph

29 Commits

Author SHA1 Message Date
Shane Smiskol 8c3bb0151e
deprecate busTime (#1989)
* deprecate busTime

* fix test_comms.py

* update opendbc

* way more than i thought

* and here

* oops
2024-07-30 21:20:48 -07:00
Cameron Clough 0c7d5f11d7
use pyupgrade to update syntax (#1889) 2024-02-24 13:56:28 -08:00
Adeeb Shihadeh 574d2db10d remove more kline usage 2023-11-23 17:29:53 -08:00
Justin Newberry 4ea50fbb09
Ruff: propgate config from OP (#1579) 2023-08-14 12:52:02 -07:00
Adeeb Shihadeh fc506e7b39
switch to ruff linter (#1564)
* switch to ruff linter

* cleanup
2023-08-06 14:29:28 -07:00
Adeeb d7f7b14118
Enable almost all Flake8 checks (#548)
* fix W391

* E262

* E703

* W293

* some E

* E231

* some more E

* E225

* more E

* E252

* no tabs

* more tabs

* E701

* uds.py

* almost all of them

* only e265 left

* not sure why this is triggering on commented out code

* ignore esptool
2020-06-01 01:49:26 -07:00
Adeeb Shihadeh 9102c16118 two spaces before inline comment 2020-05-31 14:07:01 -07:00
Willem Melching b8267341a1
Add pre commit checks + CI (#545)
* Add pre commit checks

* untested but should work

* fix typo in dockerfile

* add sqlite

* add pylintrc to ignore usb1 members

* Typo in stage name

* Move to requirements
2020-05-29 11:52:03 -07:00
rbiasini fce38a91d7
Linter python (#299)
* Added pyflakes and Pylint for python

* Actually run linter in CI

* some simple pyflakes changes

* Add flake8 to panda reqs for linter test

* flake8 errors are fixed

* run flake8 in regression tests

* meant to run flake8

* hack to ignore unused import

* bug

* fix bugs in tucan_loopback

* Another fix by using set_safety_mode

* added pylintrc file

* more fixes and enabled pylint as well

* Fix pylint in circleci

* added linter to readme
2019-10-15 14:03:31 -07:00
Riccardo 2dc34096a0 2to3 applied 2019-09-24 22:33:46 -07:00
Riccardo 1e2412a297 env python -> env python3 2019-09-24 17:50:53 -07:00
Riccardo 3e9469b3ee Fixing tests after min->MIN change 2019-06-30 14:19:31 -07:00
rbiasini a3f65d66e9
capitalize MIN and MAX macros (#220) 2019-06-17 13:48:14 -07:00
Jessy Diamond Exum 124d0a882f ELM327: Added LIN keep alive messages. Tests as well. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 069f388eed ELM327: Stable very long multiline message support with tests. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 63af60c1b0 ELM327: Added ISO 14230-4 (KWP FAST) wakeup pulse. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 98d455701d ELM327: Base ISO 14230-4 support. No keepalive yet. Bugfixes 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 47bcf40f7e ELM327: Tests for ISO 14230-4 (KWP FAST). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 47d5627836 ELM327: Car simulator now simulates LIN ISO 14230-4 (KWP FAST). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 53963c9025 ELM327: Added ISO 15765-4 29 bit CAN support.
4 protocols now supported in Torque.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum dd8d0ff27b ELM327: Two protocols work with torque, speed dial moves.
Auto protocol negotiation implemented.
Bug fixes with wifi connection monitoring.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 7dc3e2568c ELM327: Ignore received messages not related to sent command. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 1859525594 ELM327: Enforce 8 byte CAN messages. More time for clearing old CAN messages. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum ee9268f8c3 ELM327: CAN Speed can be changed (when changing protocols). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 3c57ebe5a4 ELM327: Fixed crash. Support for arbitrary length replies
Added limited throughput test.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 740e2beac3 ELM327: OBD CAN multi message support 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum cfbfea6b11 ELM: Tests for CLI, common operasions, and Basic OBD CAN messages.
ELM tests pass on 3rd party reference dongle as well.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum f05e638461 ELM: Car simulator supports sending multiline CAN messages. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 6de3ab75d6 ELM: Simple car simulator to make dials move on Torque. 2017-08-19 00:31:11 -07:00