Skip to content

Commit

Permalink
Format python with black via pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfrederich committed Jun 5, 2020
1 parent 154d035 commit a1fb9ca
Show file tree
Hide file tree
Showing 38 changed files with 778 additions and 577 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ebc15addedad713c86ef18ae9632c88e187dd0af # frozen: v3.1.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 6bedb5c58a7d8c25aa9509f8217bc24e9797e90d # frozen: 19.10b0
hooks:
- id: black
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"url": "https://github.com/LazoCoder/Pokemon-Terminal/issues"
},
"homepage": "https://github.com/LazoCoder/Pokemon-Terminal#readme"
}
}
Loading

0 comments on commit a1fb9ca

Please sign in to comment.