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.

пре 1 година
пре 1 година
123456789101112131415161718192021222324252627282930
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v4.4.0
  4. hooks:
  5. - id: fix-byte-order-marker
  6. - id: check-case-conflict
  7. - id: check-merge-conflict
  8. - id: debug-statements
  9. - id: pretty-format-json
  10. types: [text]
  11. files: \.json(.template)?$
  12. args: [ --autofix , --no-ensure-ascii, --indent=2, --no-sort-keys]
  13. - id: trailing-whitespace
  14. exclude: '(\/|^)lib\/'
  15. args: [ --markdown-linebreak-ext=md ]
  16. - repo: https://github.com/PyCQA/isort
  17. rev: 5.12.0
  18. hooks:
  19. - id: isort
  20. exclude: '(\/|^)lib\/'
  21. - repo: https://github.com/psf/black
  22. rev: 23.3.0
  23. hooks:
  24. - id: black
  25. exclude: '(\/|^)lib\/'
  26. - repo: https://github.com/PyCQA/flake8
  27. rev: 6.0.0
  28. hooks:
  29. - id: flake8
  30. exclude: '(\/|^)lib\/'