Skip to content

Commit

Permalink
Merge pull request #383 from riscv-software-src/dev/kbroch/pre-commit…
Browse files Browse the repository at this point in the history
…-python

add python specific pre-commit checks
  • Loading branch information
kbroch-rivosinc authored Jan 7, 2025
2 parents 9f68e71 + 8ae102f commit c753993
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-symlinks
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -17,14 +21,14 @@ repos:
- id: check-yaml

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
rev: v3.4.2
hooks:
- id: prettier
files: \.(json|yml|yaml)$
exclude: schemas/json-schema-draft-07.json

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.30.0
hooks:
- id: check-jsonschema
alias: check-jsonschema-inst
Expand Down

0 comments on commit c753993

Please sign in to comment.