選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.pre-commit-config.yaml 1.1 KiB

2年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.3.0
  7. hooks:
  8. - id: trailing-whitespace
  9. files: "payments.*"
  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. - id: check-json
  17. - id: check-toml
  18. - id: check-yaml
  19. - id: debug-statements
  20. - repo: https://github.com/asottile/pyupgrade
  21. rev: v2.34.0
  22. hooks:
  23. - id: pyupgrade
  24. args: ['--py310-plus']
  25. - repo: https://github.com/adityahase/black
  26. rev: 9cb0a69f4d0030cdf687eddf314468b39ed54119
  27. hooks:
  28. - id: black
  29. additional_dependencies: ['click==8.0.4']
  30. - repo: https://gitlab.com/pycqa/flake8
  31. rev: 3.9.2
  32. hooks:
  33. - id: flake8
  34. additional_dependencies: ['flake8-bugbear',]
  35. args: ['--config', '.github/helper/flake8.conf']
  36. ci:
  37. autoupdate_schedule: weekly
  38. skip: []
  39. submodules: false