Skip to content

Commit

Permalink
Add black to pre-commit (NVIDIA#5027)
Browse files Browse the repository at this point in the history
Signed-off-by: SeanNaren <[email protected]>

Signed-off-by: SeanNaren <[email protected]>
  • Loading branch information
SeanNaren committed Sep 28, 2022
1 parent fc76ae7 commit 986a766
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ repos:
name: Format imports
args: [ --multi-line=3, --trailing-comma, --force-grid-wrap=0, --use-parentheses, --line-width=119, -rc, -ws ]
exclude: docs/

- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
name: Format code
args: [--skip-string-normalization, --line-length=119]
additional_dependencies: ['click==8.0.2']

0 comments on commit 986a766

Please sign in to comment.