.pre-commit-config.yaml 502 B

1234567891011121314151617181920
  1. repos:
  2. - repo: https://github.com/psf/black
  3. rev: 23.3.0
  4. hooks:
  5. - id: black
  6. - repo: https://github.com/charliermarsh/ruff-pre-commit
  7. rev: 'v0.0.220'
  8. hooks:
  9. - id: ruff
  10. name: ruff
  11. # Respect `exclude` and `extend-exclude` settings.
  12. args: ["--force-exclude"]
  13. - repo: local
  14. hooks:
  15. - id: pytest-check
  16. name: pytest-check
  17. entry: poetry run pytest
  18. language: system
  19. pass_filenames: false
  20. always_run: true