Skip to content

Instantly share code, notes, and snippets.

@BarisSari
Created December 24, 2020 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BarisSari/84489d488ab6d21e3a055106836217ab to your computer and use it in GitHub Desktop.
Save BarisSari/84489d488ab6d21e3a055106836217ab to your computer and use it in GitHub Desktop.
exclude: '.git|.tox'
default_stages: [commit]
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-toml
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort
rev: 5.6.4
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
additional_dependencies: [flake8-isort]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment