Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Jan 5, 2024
1 parent 5dda5d3 commit 6e19729
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
repos:
- repo: /~https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
- repo: /~https://github.com/psf/black
rev: 23.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: black
name: black
entry: black
language: system
args: [--line-length=99]
types: [python]

- repo: /~https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
types: [python]
args: [
'--profile=black',
'--line-length=99',
'--trailing-comma',
'--use-parentheses',
'--ensure-newline-before-comments',
]

- repo: /~https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace

0 comments on commit 6e19729

Please sign in to comment.