Skip to content

Commit

Permalink
Add back explicit config for python formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatz committed Jan 5, 2025
1 parent 98922ee commit 2ecf1eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ repos:

- repo: local
hooks:
- id: python_format
name: Python format
entry: sh -c 'pwd && ls && ls client/trailbase-py && ls client/trailbase-py/pyproject.toml && poetry --version && poetry -C client/trailbase-py run black --version && poetry -C client/trailbase-py run black --config client/trailbase-py/pyproject.toml --check .'
language: system
types: [file]
files: .*\.(py)$
pass_filenames: false
### Rust ###
- id: cargofmt
name: Cargo Format
Expand Down Expand Up @@ -128,13 +135,6 @@ repos:
pass_filenames: false

### Python client
- id: python_format
name: Python format
entry: poetry -C client/trailbase-py run black --check .
language: system
types: [file]
files: .*\.(py)$
pass_filenames: false

- id: python_check
name: Python check
Expand Down

0 comments on commit 2ecf1eb

Please sign in to comment.