Skip to content

Commit

Permalink
Draft pre-commit hook configuration for black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
krestenlaust committed Nov 4, 2023
1 parent 4c9a790 commit fa13dab
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
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/psf/black
rev: v23.10.1 # Use the specific version of the pre-commit hook
hooks:
- id: black
args: ['--check', '--target-version', 'py36', '--line-length', '120', '--skip-string-normalization', '--exclude', '(migrations|urls\.py)']
name: black
files: stregsystem stregreport kiosk

0 comments on commit fa13dab

Please sign in to comment.