.pre-commit-config.yaml 292 B

1234567891011121314
  1. repos:
  2. - repo: local
  3. hooks:
  4. - id: linter
  5. name: Apply linter fixes
  6. entry: ruff check --fix .
  7. language: system
  8. types: [python]
  9. require_serial: true
  10. - id: format
  11. name: Apply formatting fixes
  12. entry: autopep8 --in-place .
  13. language: system
  14. types: [python]