Skip to content

Instantly share code, notes, and snippets.

@chrishannam
Created August 19, 2019 18:17
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 chrishannam/13dfed0b057c8d6f8dc48ed831697145 to your computer and use it in GitHub Desktop.
Save chrishannam/13dfed0b057c8d6f8dc48ed831697145 to your computer and use it in GitHub Desktop.
- repo: https://github.com/FalconSocial/pre-commit-python-sorter
rev: master
hooks:
- id: python-import-sorter
args: ['--silent-overwrite']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.720
hooks:
- id: mypy
args: [--ignore-missing-imports]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: debug-statements
- id: double-quote-string-fixer
- id: requirements-txt-fixer
- id: flake8
args: ['--max-line-length=79']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment