Skip to content

Instantly share code, notes, and snippets.

@VDigitall
Last active February 20, 2018 10:44
Show Gist options
  • Save VDigitall/7ea2a9285771f63437eb9c843c173f03 to your computer and use it in GitHub Desktop.
Save VDigitall/7ea2a9285771f63437eb9c843c173f03 to your computer and use it in GitHub Desktop.
.pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.2.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer
- { id: flake8, args: ['--ignore=E402,E265']}
- repo: https://github.com/pre-commit/pre-commit
sha: v0.16.3
hooks:
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: python2.7
- repo: https://github.com/asottile/pyupgrade
sha: v1.1.4
hooks:
- id: pyupgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment