Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 460 B
Newer Older
  • Learn to ignore specific revisions
  • repos:
      - repo: https://github.com/astral-sh/ruff-pre-commit
    
          # Run the linter.
    
          - id: ruff
            args: [--fix, --exit-non-zero-on-fix]
    
          # Run the formatter.
          - id: ruff-format
    
    
      - repo: https://github.com/rtts/djhtml
        rev: "3.0.6"
        hooks:
          - id: djhtml
            files: .*/templates/.*\.html$
    
      - repo: https://github.com/pre-commit/mirrors-prettier
    
        rev: v3.1.0