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 година
1234567891011121314151617181920212223242526272829303132333435
  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: "education.*"
  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/PyCQA/flake8
  22. rev: 5.0.4
  23. hooks:
  24. - id: flake8
  25. additional_dependencies: ["flake8-bugbear"]
  26. args: ["--config", ".github/helper/flake8.conf"]
  27. ci:
  28. autoupdate_schedule: weekly
  29. skip: []
  30. submodules: false