.pre-commit-config.yaml 643 B

123456789101112131415161718192021222324
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v3.4.0
  4. hooks:
  5. - id: check-yaml
  6. - id: check-added-large-files
  7. args: [--maxkb=20480]
  8. - id: check-ast
  9. - id: check-case-conflict
  10. - id: debug-statements
  11. - id: detect-private-key
  12. - id: end-of-file-fixer
  13. - id: mixed-line-ending
  14. - id: trailing-whitespace
  15. - repo: https://github.com/psf/black
  16. rev: 20.8b1
  17. hooks:
  18. - id: black
  19. additional_dependencies: ['click==8.0.4']
  20. - repo: https://github.com/kynan/nbstripout
  21. rev: 0.3.9
  22. hooks:
  23. # strip output from Jupyter and IPython notebooks
  24. - id: nbstripout