Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Subaru driver torque sensor Nm scaling factor and unit #901

Closed
wants to merge 148 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
2aaceb5
Add Subaru driver torque sensor Nm scaling factor and unit
martinl Jul 18, 2023
045dc5b
Update cython (#903)
maxime-desroches Jul 18, 2023
5f19a5e
Subaru: ALT LKAS request is actually angle (#904)
jnewb1 Jul 20, 2023
8053570
pre-commit: autoupdate hooks #908
adeebshihadeh Aug 1, 2023
b753c4c
Hyundai SantaFe CM and Opel Omega B databases added (#910)
MonsterPerformance Aug 5, 2023
89e85eb
'test_dbc_parser: ensure we're running on real DBCs'
sshane Aug 5, 2023
1a09ba7
CI: Pylint to ruff (#911)
jnewb1 Aug 7, 2023
cbce201
disable parser perf test for now
adeebshihadeh Aug 8, 2023
bdb16b8
Toyota: rename ACC_HUD to PCS_HUD (#905)
cydia2020 Aug 8, 2023
7eb6a68
Toyota: Follow distance signal for unsupported DSU cars (#915)
sunnyhaibin Aug 9, 2023
b612b79
parser: update_strings propagate cpp exceptions in py bindings (#912)
fredyshox Aug 10, 2023
082ec64
CANParser: parse all signals for given messages (#828)
adeebshihadeh Aug 11, 2023
8d257bc
Ruff: propogate config from OP (#916)
jnewb1 Aug 14, 2023
9abebcf
pre-commit: autoupdate hooks (#917)
adeebshihadeh Aug 15, 2023
95dfb19
Hyundai CAN FD: fix wheel speed units (#919)
sshane Aug 17, 2023
57f5780
Subaru: added static and hba signals (#920)
jnewb1 Aug 17, 2023
4d88fc5
Subaru: Remove unrelated bit from transmission RPM signal (#918)
martinl Aug 17, 2023
a25f05b
Subaru: more dbc updates for long (#859)
jnewb1 Aug 17, 2023
c9f3100
Hyundai CAN-FD: Alternate LKAS and BLINKERS signals (#892)
sunnyhaibin Aug 18, 2023
93ab956
VW PQ: AWV_only signal fix (#921)
FLcruising Aug 20, 2023
fa30505
pre-commit: autoupdate hooks (#922)
adeebshihadeh Aug 22, 2023
340f85f
cpplint: more filters (#925)
deanlee Aug 24, 2023
f57d6f2
update build flag
adeebshihadeh Aug 24, 2023
92e027b
Subaru: move infotainment up (#924)
jnewb1 Aug 24, 2023
8e76b62
bump cereal
adeebshihadeh Aug 24, 2023
e8e72c4
minimal build
adeebshihadeh Aug 24, 2023
51b86a7
minimal build there too
adeebshihadeh Aug 24, 2023
b696e35
Hyundai CAN FD: rename LKAS->SET_ME_1 (#928)
sshane Aug 28, 2023
e85b9b4
Hyundai CAN-FD HDA2: specify signals to suppress LFA (#927)
sunnyhaibin Aug 29, 2023
78fee14
Subaru: preglobal normalize signals to global (#929)
jnewb1 Aug 29, 2023
e757ec9
Parser: disallow duplicate message checks (#930)
jnewb1 Aug 29, 2023
df5232c
Hyundai CAN-FD HDA2: alternate message to suppress LFA (#923)
sunnyhaibin Aug 29, 2023
27f0e2b
pre-commit: autoupdate hooks (#931)
adeebshihadeh Aug 29, 2023
68dca53
Hyundai CAN FD: alt blinker lamp signals (#932)
sshane Aug 30, 2023
35a8a80
pre-commit: autoupdate hooks (#937)
adeebshihadeh Sep 5, 2023
946dccf
Precommit: ensure executable bit is set (#938)
jnewb1 Sep 5, 2023
c9a8b82
common_dbc.h: remove ARRAYSIZE (#941)
deanlee Sep 6, 2023
0883105
CanPacker: removing unnecessary string copying (#940)
deanlee Sep 6, 2023
31404b9
parser_pyx: build value maps for requied messages (#939)
deanlee Sep 8, 2023
e34b2ab
Mazda updates (#816)
Jafaral Sep 8, 2023
a175cce
Hyundai CAN FD: add Manual Speed Limit Assist message (#950)
sshane Sep 12, 2023
5d11a77
Hyundai: add SCC info signal definitions (#949)
sshane Sep 12, 2023
53f7eae
pre-commit: autoupdate hooks (#952)
adeebshihadeh Sep 12, 2023
cc5dbbd
GM: annotate source ECU for EBCM message (#954)
sshane Sep 13, 2023
bca34c3
GM: fix up ignition msgs and signals (#953)
sshane Sep 15, 2023
24288a5
pre-commit: autoupdate hooks (#956)
adeebshihadeh Sep 19, 2023
0058652
Honda: new EPS faulted value (#874)
vanillagorillaa Sep 20, 2023
d187712
pre-commit: autoupdate hooks (#958)
adeebshihadeh Sep 26, 2023
6b48cc0
pre-commit: autoupdate hooks (#959)
adeebshihadeh Oct 3, 2023
b0f1bb7
pre-commit: autoupdate hooks (#960)
adeebshihadeh Oct 19, 2023
840e03e
pre-commit: autoupdate hooks (#964)
adeebshihadeh Oct 24, 2023
8d5130f
CANParser: capture C++ DBC parser exceptions (#965)
sshane Oct 25, 2023
5987159
pre-commit: autoupdate hooks (#967)
adeebshihadeh Oct 31, 2023
f9ed191
Update gm_global_a_lowspeed.dbc to include BOLT EUV Blindspot indicat…
ServerDummy Nov 2, 2023
2e365fa
pre-commit: autoupdate hooks (#970)
adeebshihadeh Nov 7, 2023
b91a588
CANParser: rename timestamp variables (#972)
sshane Nov 10, 2023
030d857
chrysler: update DAS messages (#973)
gregjhogan Nov 14, 2023
87f8529
pre-commit: autoupdate hooks (#974)
adeebshihadeh Nov 14, 2023
77cb20f
stellantis: fix overlapping signal (#975)
gregjhogan Nov 15, 2023
4b11bab
CANParser: clip `counter_fail` to the max (#976)
sshane Nov 18, 2023
07b387f
pre-commit: autoupdate hooks (#978)
adeebshihadeh Nov 21, 2023
2c5507a
CANParser: process all signals before updating values (#977)
sshane Nov 22, 2023
b9bf5dd
pre-commit: autoupdate hooks (#980)
adeebshihadeh Nov 28, 2023
8a5ca81
honda_civic_touring_2016_can_generated.dbc: remove `CM_ SG_ 450` (…
deanlee Dec 4, 2023
57c97d1
hyundai_kia_generic: sign detection (#963)
devtekve Dec 4, 2023
cd9d373
Toyota: rename LTA torque wind down signal (#983)
sshane Dec 5, 2023
b9d9418
pre-commit: autoupdate hooks (#984)
adeebshihadeh Dec 9, 2023
f79f2a1
pre-commit: autoupdate hooks (#989)
adeebshihadeh Dec 22, 2023
c0eceae
pre-commit: autoupdate hooks (#991)
adeebshihadeh Dec 27, 2023
5fd8210
Subaru: cruise_rpm and cruise_throttle are 13 bits (#995)
jnewb1 Dec 30, 2023
de0d7d8
stellantis: new signals (#986)
gregjhogan Jan 20, 2024
c60d638
chrysler: more signals (#1001)
gregjhogan Jan 21, 2024
210e15f
GM: Add BSM signal on powertrain bus (#993)
garrettpall Jan 23, 2024
e210a0c
GM: Fix wheel direction signal (#1006)
nworb-cire Feb 1, 2024
f9c3b5c
CAN packer/parser: clean up after alloc (#1007)
sshane Feb 7, 2024
6118710
VAG focusing on TCU (#947)
rusefillc Feb 10, 2024
8a25443
pre-commit: autoupdate hooks (#997)
adeebshihadeh Feb 21, 2024
046b06e
CI: enable docker cache pull (#1011)
bongbui321 Feb 23, 2024
f9f7b8d
DBC changes for Tesla Raven support (#994)
robbederks Feb 23, 2024
197a7fb
2023 Honda Pilot DBC (#999)
vanillagorillaa Feb 24, 2024
ffb5220
bump cereal (#1012)
sshane Feb 24, 2024
3c1b8d3
Toyota: LVSTP definition (#1002)
cydia2020 Feb 24, 2024
a9baf0a
Ford: add METRIC_UNITS signal (#1010)
incognitojam Feb 24, 2024
c3b5333
GM: Add sport mode status (#1009)
notAreYouScared Feb 24, 2024
589daa1
honda: add missing semicolon (#1014)
jnewb1 Feb 26, 2024
8e29d79
scons: export opendbc_python (#1015)
jnewb1 Feb 28, 2024
2a04d45
Hyundai CAN-FD: Lead Relative Speed (#979)
sunnyhaibin Feb 29, 2024
358cb82
Toyota: add value labels for UI distance lines (#1018)
sshane Mar 6, 2024
723fb0c
Tesla continental radar DBC (#955)
robbederks Mar 6, 2024
fcac300
comma.dbc -> community.dbc
adeebshihadeh Mar 18, 2024
09e9310
pre-commit: autoupdate hooks (#1017)
adeebshihadeh Mar 18, 2024
2d7d83a
run generator
adeebshihadeh Mar 18, 2024
dca37ca
Toyota: add SDSU state (#1024)
sshane Mar 20, 2024
b394037
VW MQB: add adaptive cruise signal (#1029)
sshane Mar 31, 2024
2d60edf
Update from deprecated github action (#1031)
elfringham Apr 5, 2024
8ef8fb0
Tesla Model 3 (#1032)
lukasloetkolben Apr 7, 2024
d13fe97
VW MQB: Support for preempted HCA state (#1036)
jyoung8607 Apr 26, 2024
4c50802
update to ubuntu 24.04 (#1037)
adeebshihadeh Apr 28, 2024
6c7e2df
Chrysler: DBCs for Compact US Wide (#985)
jyoung8607 Apr 30, 2024
b527f4c
run pre-commit autoupdate monthly
adeebshihadeh May 8, 2024
58efb47
Tesla Model3 DriverSeat Bucklestatus & BlindSpot (#1041)
lukasloetkolben May 12, 2024
eeb5306
CANParser: 2x faster parsing (#1039)
deanlee May 14, 2024
7606193
Tesla Model3 any door open? (#1044)
lukasloetkolben May 16, 2024
3cdc184
VW MQB: Additional TSK support (#1028)
jyoung8607 May 18, 2024
02ba30c
Ford: add alternate steering message address (#1026)
incognitojam May 18, 2024
01ec67d
improve logging (#1048)
deanlee Jun 4, 2024
2d540db
CANPacker: fix incorrect `counters` assignment (#1047)
deanlee Jun 4, 2024
e3c246a
assert expected openpilot undefined message behavior (#1050)
sshane Jun 6, 2024
f027059
CANParser: fix can data size issue (#799)
deanlee Jun 7, 2024
2a7e1f6
TODO
sshane Jun 7, 2024
e6cb9f7
packer: log undefined address/signal as error (#1052)
sshane Jun 8, 2024
18597fd
build message lookup table in DBC (#942)
deanlee Jun 8, 2024
0a04ae4
CI: use pytest (#1053)
sshane Jun 8, 2024
8848ba7
Initializes CRC lookup tables at module initialization (#1051)
deanlee Jun 8, 2024
15067aa
Sconscript: enable openpilot compilation for macOS (#1059)
bongbui321 Jul 5, 2024
3073ead
Convert tests to pytests (#1060)
UkuLoskit Jul 9, 2024
372279b
clean/remove community (SDSU/Pedal/IPAS) dbc (#1063)
eFiniLan Jul 19, 2024
6f427b0
deprecate busTime (#1065)
sshane Jul 31, 2024
317c8ff
parser: declutter nanos usage (#1067)
sshane Jul 31, 2024
67b7daf
parser: clean up unused import & variable
sshane Jul 31, 2024
5a838fc
CANParser: remove dependence on cereal (#934)
deanlee Jul 31, 2024
52ed290
new docker image structure (#1070)
sshane Aug 1, 2024
908c55e
move to nested opendbc/ (#1069)
sshane Aug 1, 2024
8ead015
define project (#1073)
sshane Aug 1, 2024
30ff9d3
fix ruff warnings
adeebshihadeh Aug 2, 2024
1ca8956
CANPacker: msg type is tuple (#1077)
sshane Aug 7, 2024
efb31fa
Bump pre-commit hooks, more coverage (similar to openpilot) (#1078)
sshane Aug 17, 2024
fddef20
move selfdrive/car to opendbc (#1049)
sshane Aug 17, 2024
3d64610
one minute ci (#1080)
adeebshihadeh Aug 17, 2024
d89918a
no docker (#1081)
adeebshihadeh Aug 17, 2024
41e3f3f
CI: auto PR review (#1082)
adeebshihadeh Aug 17, 2024
f90c6c3
simple README (#1083)
adeebshihadeh Aug 17, 2024
91f33c5
Remove Static Library from Build Script (#1084)
deanlee Aug 18, 2024
86b48ed
pyyaml is unused
adeebshihadeh Aug 18, 2024
b1e7487
more robust libdbc linking
adeebshihadeh Aug 18, 2024
f20b14b
this was getting installed from panda
adeebshihadeh Aug 18, 2024
2b459da
rename car label
sshane Aug 19, 2024
1db5977
add opendbc/can/ to LIBPATH
adeebshihadeh Aug 19, 2024
9ea205c
fixup auto labeler (#1089)
sshane Aug 20, 2024
8302ca3
add test_lateral_limits.py
sshane Aug 20, 2024
8eef816
add banned apis
sshane Aug 20, 2024
4ee3450
speedup CI (#1179)
sshane Aug 21, 2024
61b253d
add test_car_interfaces.py (#1178)
sshane Aug 21, 2024
e09719b
tests: some speed optimizations (#1181)
sshane Aug 21, 2024
b62b56a
openpilot isn't required for a car port PR (#1183)
adeebshihadeh Aug 27, 2024
7e7da74
CI should use the defaults
adeebshihadeh Aug 27, 2024
75f4408
GM: implement allow throttle/brakes (#1185)
sshane Aug 27, 2024
68cfa7c
Revert "GM: implement allow throttle/brakes" (#1187)
sshane Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
68 changes: 68 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
CI / testing:
- changed-files:
- any-glob-to-any-file: '.github/**'

car:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/**'

can:
- changed-files:
- any-glob-to-any-file: 'opendbc/can/**'

DBC signals:
- changed-files:
- any-glob-to-any-file: 'opendbc/dbc/**'


body:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/body/**'

chrysler:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/chrysler/**'

ford:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/ford/**'

gm:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/gm/**'

honda:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/honda/**'

hyundai:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/hyundai/**'

mazda:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/mazda/**'

nissan:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/nissan/**'

subaru:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/subaru/**'

tesla:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/tesla/**'

toyota:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/toyota/**'

volkswagen:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/volkswagen/**'

fingerprint:
- changed-files:
- any-glob-to-any-file: 'opendbc/car/*/fingerprints.py'
50 changes: 50 additions & 0 deletions .github/workflows/auto_pr_review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: "PR review"
on:
pull_request_target:
types: [opened, reopened, synchronize, edited, edited]

jobs:
labeler:
name: review
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Label PRs
- uses: actions/[email protected]
with:
dot: true
configuration-path: .github/labeler.yaml

# Check PR target branch
- name: check branch
uses: Vankka/pr-target-branch-action@def32ec9d93514138d6ac0132ee62e120a72aed5
if: github.repository == 'commaai/opendbc'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
target: /^(?!master$).*/
exclude: /commaai:.*/
change-to: ${{ github.base_ref }}
already-exists-action: close_this
already-exists-comment: "Your PR should be made against the `master` branch"

# Welcome comment
- name: comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
if: github.event.pull_request.head.repo.full_name != 'commaai/opendbc'
with:
message: |
<!-- _(run_id **${{ github.run_id }}**)_ -->
Thanks for contributing to opendbc! In order for us to review your PR as quickly as possible, check the following:
* Convert your PR to a draft unless it's ready to review
* Read the [contributing docs](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md)
* Before marking as "ready for review", ensure:
* the goal is clearly stated in the description
* all the tests are passing
* include a route or your device' dongle ID if relevant
comment_tag: run_id
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: repo

on:
schedule:
- cron: "0 15 * * 2"
- cron: "0 15 1 * *"
workflow_dispatch:

jobs:
pre-commit-autoupdate:
name: pre-commit autoupdate
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container:
image: ghcr.io/commaai/opendbc:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: pre-commit autoupdate
run: |
git config --global --add safe.directory '*'
Expand Down
75 changes: 35 additions & 40 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,52 @@
name: tests

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

env:
RUN: docker run -v $GITHUB_WORKSPACE:/project/opendbc -w /project/opendbc -e PYTHONWARNINGS="error,default::DeprecationWarning" --shm-size 1G --rm opendbc /bin/bash -c
BUILD: |
docker pull $(grep -ioP '(?<=^from)\s+\S+' Dockerfile) || true
docker pull ghcr.io/commaai/opendbc:latest || true
docker build --cache-from ghcr.io/commaai/opendbc:latest -t opendbc -f Dockerfile .
PYTHONWARNINGS: error
# TODO: enable this
#env:
# PYTHONWARNINGS: error,default::DeprecationWarning

jobs:
unit-tests:
name: unit tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
timeout-minutes: 1
#strategy:
# fail-fast: false
# matrix:
# run: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: eval "$BUILD"
- name: Build opendbc
run: ${{ env.RUN }} "cd ../ && scons -j$(nproc)"
- name: Unit tests
run: ${{ env.RUN }} "python -m unittest discover ."
- uses: actions/checkout@v4
- name: setup python
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
# TODO: remove setuptools once https://github.com/cython/cython/issues/5751 is fixed
uv pip install -e .[testing,docs] setuptools
- run: uv run scons -j$(nproc)
- run: uv run pytest .

static-analysis:
name: static analysis
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: eval "$BUILD"
- name: Build opendbc
run: ${{ env.RUN }} "cd ../ && scons -j$(nproc)"
- name: pre-commit
# TODO: a package pre-commit installs has a warning, remove the unset once that's fixed
run: ${{ env.RUN }} "unset PYTHONWARNINGS && pre-commit run --all"
- name: Generator test
run: ${{ env.RUN }} "generator/test_generator.py"

docker-push:
name: docker push
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/opendbc'
runs-on: ubuntu-24.04
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: eval "$BUILD"
- name: Push to dockerhub
- uses: actions/checkout@v4
- run: sudo apt install --no-install-recommends -y cppcheck
- name: setup python
run: |
docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
docker tag opendbc ghcr.io/commaai/opendbc:latest
docker push ghcr.io/commaai/opendbc:latest
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
uv pip install -e . pre-commit
- name: cache pre-commit environments
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-pre-commit-
- run: uv run pre-commit run --all
19 changes: 11 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/build/
.mypy_cache/
*.pyc
*.os
Expand All @@ -7,12 +8,14 @@
.*.swp
.DS_Store
.sconsign.dblite
.hypothesis
*.egg-info/

can/*.so
can/*.a
can/build/
can/obj/
can/packer_pyx.cpp
can/parser_pyx.cpp
can/packer_pyx.html
can/parser_pyx.html
opendbc/can/*.so
opendbc/can/*.a
opendbc/can/build/
opendbc/can/obj/
opendbc/can/packer_pyx.cpp
opendbc/can/parser_pyx.cpp
opendbc/can/packer_pyx.html
opendbc/can/parser_pyx.html
39 changes: 12 additions & 27 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-yaml
- id: check-merge-conflict
- id: check-symlinks
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.3.0
hooks:
- id: codespell
exclude: '\.dbc$'
args:
- --check-hidden
- --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.11.1
hooks:
- id: mypy
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: 'site_scons/'
args:
- --select=F,E112,E113,E304,E501,E502,E701,E702,E703,E71,E72,E731,W191,W6
- --max-line-length=240
- --statistics
- repo: local
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: 'site_scons/'
args:
- --disable=C,R,W0613,W0511,W0212,W0201,W0311,W0106,W0603,W0621,W0703,E1136
- id: ruff
- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.15.0
rev: v0.16.0
hooks:
- id: cython-lint
- id: double-quote-cython-strings
Expand All @@ -50,7 +34,7 @@ repos:
- --quiet
- --counting=detailed
- --linelength=240
- --filter=-legal,-build/include_order,-readability/casting,-whitespace/braces,-whitespace/indent,-whitespace/operators,-build/c++11,-readability/todo,-runtime/explicit,-runtime/int,-whitespace/comments,-readability/braces,-runtime/arrays,-runtime/references
- --filter=-build,-legal,-readability,-runtime,-whitespace,+build/include_subdir,+build/forward_decl,+build/include_what_you_use,+build/deprecated,+whitespace/comma,+whitespace/line_length,+whitespace/empty_if_body,+whitespace/empty_loop_body,+whitespace/empty_conditional_body,+whitespace/forcolon,+whitespace/parens,+whitespace/semicolon,+whitespace/tab,+readability/braces
- repo: local
hooks:
- id: cppcheck
Expand All @@ -61,13 +45,14 @@ repos:
args:
- --error-exitcode=1
- --language=c++
- --inline-suppr
- --force
- --quiet
- -j4
- repo: local
hooks:
- id: generator
name: dbc generator
entry: generator/test_generator.py
entry: opendbc/dbc/generator/test_generator.py
language: script
pass_filenames: false
57 changes: 0 additions & 57 deletions Dockerfile

This file was deleted.

Loading
Loading