Skip to content

Instantly share code, notes, and snippets.

@poudyalanil
Created May 25, 2021 02:13
Show Gist options
  • Save poudyalanil/6c6e0d81424e06934bd305ebeb3ca955 to your computer and use it in GitHub Desktop.
Save poudyalanil/6c6e0d81424e06934bd305ebeb3ca955 to your computer and use it in GitHub Desktop.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: requirements-txt-fixer
- id: check-json
- repo: https://github.com/psf/black
rev: 21.5b1
hooks:
- id: black
entry: python -m black .
language_version: python3
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.5.0
hooks:
- id: reorder-python-imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment