Created
January 27, 2021 11:56
-
-
Save rririanto/fcf4465c5c3eadb03bcada4f4cbda6da to your computer and use it in GitHub Desktop.
Pre-commits Init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: git://github.com/pre-commit/pre-commit-hooks | |
rev: v1.4.0 | |
hooks: | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- id: check-case-conflict | |
- id: check-merge-conflict | |
- id: check-yaml | |
args: ['--unsafe'] | |
- id: detect-private-key | |
- id: forbid-new-submodules | |
- id: check-json | |
- id: pretty-format-json | |
types: [text] | |
files: \.(json|template)$ | |
args: ["--autofix"] | |
- id: check-added-large-files | |
- id: flake8 | |
- repo: git://github.com/CuriousLearner/pre-commit-python-sorter | |
sha: 5294cde9d51cff119af537e987c30c320e9fbe2f | |
hooks: | |
- id: python-import-sorter | |
args: ['--silent-overwrite'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment