Skip to content

Commit

Permalink
[ci] Use black instead of yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Apr 11, 2023
1 parent cc4cacf commit 00decf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ default_language_version:

exclude: ^((tests/python/test_exception)\.py$|external/)
repos:
- repo: https://github.com/google/yapf
rev: v0.32.0
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: yapf
additional_dependencies: [toml]
- id: black
language_version: python3.10

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
Expand Down

0 comments on commit 00decf2

Please sign in to comment.