mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-12 02:12:05 +08:00
30500eee39
* make openpilot a dependency of agnos * cleaner curls [upload] * adding required dbus-python and pyopencl [upload] * check in openpilot pyproject.toml and uv.lock * ignore openpilot uv.lock * remove allow-direct-references * codespell: ignore openpilot python deps folder * use a uv workspace instead https://docs.astral.sh/uv/concepts/workspaces/ * codespell: ignore uv folder * uv lock in sync * agnos optional deps are never installed * uv temp fix for dbus-python error * uv agnos virtual * update openpilot pyproject.toml * also install openpilot testing * sourcing is needed [upload] * [upload] * update openpilot uv.lock * fix wrong env for uv sync * added openpilot[testing] * openpilot uv.lock is now workspace uv.lock * [upload] * no more uv.lock download * new uv.lock * openpilot[dev] + uv lock --upgrade * [upload] --------- Co-authored-by: Comma Device <device@comma.ai>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
repos:
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-ast
|
|
exclude: '^(tools)/'
|
|
- id: check-toml
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-added-large-files
|
|
args: ['--maxkb=100']
|
|
- repo: https://github.com/codespell-project/codespell
|
|
rev: v2.2.4
|
|
hooks:
|
|
- id: codespell
|
|
exclude: '^(userspace/files/serviceproviders.xml)|(tools/)|(userspace/uv/)'
|
|
args:
|
|
# if you've got a short variable name that's getting flagged, add it here
|
|
- -L bu,ro,te,ue,alo,hda,ois,nam,nams,ned,som,parm,setts,inout,warmup
|
|
- --builtins clear,rare,informal,usage,code,names,en-GB_to_en-US
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.0.0
|
|
hooks:
|
|
- id: flake8
|
|
exclude: '^(tools/)'
|
|
additional_dependencies: ['flake8-no-implicit-concat']
|
|
args:
|
|
- --indent-size=2
|
|
- --enable-extensions=NIC
|
|
- --select=F,E112,E113,E304,E502,E701,E702,E703,E71,E72,E731,W191,W6
|
|
- --statistics
|
|
- -j4
|