You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 regels
795 B

  1. exclude: 'node_modules|.git'
  2. default_stages: [commit]
  3. fail_fast: false
  4. repos:
  5. - repo: https://github.com/pre-commit/pre-commit-hooks
  6. rev: v4.0.1
  7. hooks:
  8. - id: trailing-whitespace
  9. files: "frappe.*"
  10. exclude: ".*json$|.*txt$|.*csv|.*md|.*svg"
  11. - id: check-yaml
  12. - id: no-commit-to-branch
  13. args: ['--branch', 'develop']
  14. - id: check-merge-conflict
  15. - id: check-ast
  16. - repo: https://github.com/adityahase/black
  17. rev: 9cb0a69f4d0030cdf687eddf314468b39ed54119
  18. hooks:
  19. - id: black
  20. additional_dependencies: ['click==8.0.4']
  21. - repo: https://github.com/timothycrosley/isort
  22. rev: 5.9.1
  23. hooks:
  24. - id: isort
  25. exclude: ".*setup.py$"
  26. ci:
  27. autoupdate_schedule: weekly
  28. skip: []
  29. submodules: false