.pre-commit-config.yaml 579 B

1234567891011121314151617181920
  1. ci:
  2. autoupdate_commit_msg: "chore: update pre-commit hooks"
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: "v4.5.0"
  6. hooks:
  7. - id: check-added-large-files
  8. - id: check-case-conflict
  9. - id: check-merge-conflict
  10. - id: check-symlinks
  11. - id: mixed-line-ending
  12. - id: detect-private-key
  13. - id: check-ast
  14. - repo: https://github.com/pycqa/flake8
  15. rev: '4.0.1' # Use the latest flake8 version or the one you prefer
  16. hooks:
  17. - id: flake8
  18. args: ['--select=F821,F822,F831,E111,E112,E113,E999,E902']