Skip to content

Instantly share code, notes, and snippets.

@guptarohit
Created November 14, 2019 11:07
Show Gist options
  • Save guptarohit/35f49bc663620d03ca00d2a0ff7429df to your computer and use it in GitHub Desktop.
Save guptarohit/35f49bc663620d03ca00d2a0ff7429df to your computer and use it in GitHub Desktop.

Revisions

  1. guptarohit created this gist Nov 14, 2019.
    18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    repos:
    - repo: https://github.com/asottile/seed-isort-config
    rev: v1.9.3
    hooks:
    - id: seed-isort-config
    - repo: https://github.com/pre-commit/mirrors-isort
    rev: v4.3.21
    hooks:
    - id: isort
    - repo: https://github.com/ambv/black
    rev: stable
    hooks:
    - id: black
    language_version: python3.6
    - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    - id: flake8