diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd8e32f18..82acb3e1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,3 +41,10 @@ repos: - --force - --quiet - -j4 +- repo: https://github.com/codespell-project/codespell + rev: v2.2.1 + hooks: + - id: codespell + args: + - -L ned + - --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US diff --git a/car.capnp b/car.capnp index 083f6ee89..e05c348e6 100644 --- a/car.capnp +++ b/car.capnp @@ -460,7 +460,7 @@ struct CarParams { vEgoStarting @59 :Float32; # Speed at which the car goes into starting state directAccelControl @30 :Bool; # Does the car have direct accel control or just gas/brake stoppingControl @31 :Bool; # Does the car allows full control even at lows speeds when stopping - stopAccel @60 :Float32; # Required acceleraton to keep vehicle stationary + stopAccel @60 :Float32; # Required acceleration to keep vehicle stationary steerControlType @34 :SteerControlType; radarOffCan @35 :Bool; # True when radar objects aren't visible on CAN stoppingDecelRate @52 :Float32; # m/s^2/s while trying to stop diff --git a/log.capnp b/log.capnp index 8e0fd9dd6..ef013261e 100644 --- a/log.capnp +++ b/log.capnp @@ -1198,7 +1198,7 @@ struct UbloxGnss { carrierPhaseValid @1 :Bool; # half cycle valid halfCycleValid @2 :Bool; - # half sycle subtracted from phase + # half cycle subtracted from phase halfCycleSubtracted @3 :Bool; } }