Update Python packages and pre-commit hooks (#30403)

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 3c043ba570
testing-closet
Adeeb Shihadeh 1 year ago committed by GitHub
parent 422a9289b6
commit 1963c5969a
  1. 6
      .pre-commit-config.yaml
  2. 4
      poetry.lock

@ -41,7 +41,7 @@ repos:
args: ['--explicit-package-bases'] args: ['--explicit-package-bases']
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)' exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)'
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3 rev: v0.1.4
hooks: hooks:
- id: ruff - id: ruff
exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)' exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)'
@ -79,13 +79,13 @@ repos:
language: script language: script
pass_filenames: false pass_filenames: false
- repo: https://github.com/python-poetry/poetry - repo: https://github.com/python-poetry/poetry
rev: '1.6.0' rev: '1.7.0'
hooks: hooks:
- id: poetry-check - id: poetry-check
name: validate poetry lock name: validate poetry lock
args: args:
- --lock - --lock
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.0 rev: 0.27.1
hooks: hooks:
- id: check-github-workflows - id: check-github-workflows

4
poetry.lock generated

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:7f6b41cdc0a2c1efdac6149e1ecb5035c90eb3b4a8fb464f1a19706cb73e312f oid sha256:2f2ba25794bd8004152eb48bbec999f519664ffbe13d75c4527628faa4f2c96c
size 454489 size 451912

Loading…
Cancel
Save