Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
args: [--check]
language: python
types: [toml]
# These are TOML files per `identify`, but are generated and should not be sorted.
# SEE: https://regex101.com/r/nkPvmd/1
exclude: '(^|/)(uv\.lock|poetry\.lock|Cargo\.lock)$'
- id: toml-sort-fix
name: toml-sort-fix
entry: toml-sort
args: [--in-place]
language: python
types: [toml]
# These are TOML files per `identify`, but are generated and should not be sorted.
# SEE: https://regex101.com/r/nkPvmd/1
exclude: '(^|/)(uv\.lock|poetry\.lock|Cargo\.lock)$'
Loading