Skip to content

Instantly share code, notes, and snippets.

@hackaugusto
Created October 4, 2018 15:03
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 hackaugusto/d033c65f6a4f555647ef629251d69d54 to your computer and use it in GitHub Desktop.
Save hackaugusto/d033c65f6a4f555647ef629251d69d54 to your computer and use it in GitHub Desktop.
exclude: '^$'
fail_fast: false
repos:
- repo: git://github.com/doublify/pre-commit-isort
rev: v4.3.0
hooks:
- id: isort
args: ["--ignore-whitespace", "--settings-path", "./", "--recursive"]
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.1.1
hooks:
- id: pylint
args: ["--rcfile", ".pylint.rc"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: autopep8-wrapper
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: detect-private-key
# - id: double-quote-string-fixer
- id: end-of-file-fixer
- id: flake8
additional_dependencies: ["flake8-bugbear", "flake8-commas", "flake8-tuple", "readme-renderer",]
- id: mixed-line-ending
- id: trailing-whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment