Skip to content
Snippets Groups Projects
Select Git revision
  • ical-export
  • develop default protected
  • feature/audit_log
  • fix/index
  • badge-redeem-404
  • 720-schedule_source
  • room-docu
  • chore/event-views
  • 511-schedule-foo-fixed
  • 607-schedule-versions
  • deploy/curl-verbose
  • fix/public-badge-access-rights
  • 445-schedule-redirects
  • 623-wiki-im-baustellenmodus-sollte-mal-als-wiki-admin-trotzdem-seiten-anlegen-bearbeiten-konnen
  • fix/registration_mail_subject
  • feature/conference-query-set
  • feature/568-habitatmanagement
  • feat/unit-integration-tests
  • camp23-prod
  • production
  • prod-2024-12-27_20-15
  • prod-2024-12-27_16-37
  • prod-2024-12-27_16-01
  • prod-2024-12-27_13-29
  • prod-2024-12-27_00-34
  • prod-2024-12-26_21-45
  • prod-2024-12-26_13-12
  • prod-2024-12-26_00-21
  • prod-2024-12-25_21-04
  • prod-2024-12-25_15-54
  • prod-2024-12-25_01-29
  • prod-2024-12-24_14-48
  • prod-2024-12-23_23-39
  • prod-2024-12-22_21-12
  • prod-2024-12-22_17-25
  • prod-2024-12-22_01-34
  • prod-2024-12-22_00-55
  • prod-2024-12-21_13-42
  • prod-2024-12-21_10-44
  • prod-2024-12-20_12-25
40 results

.pre-commit-config.yaml

Blame
  • Forked from hub / hub
    218 commits behind the upstream repository.
    .pre-commit-config.yaml 1.65 KiB
    exclude: ^.*.min.*|migrations|yarn.lock|venv$
    
    repos:
      - repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v5.0.0
        hooks:
          - id: check-yaml
          - id: check-toml
          - id: check-merge-conflict
          - id: check-ast
      - repo: https://github.com/astral-sh/ruff-pre-commit
        rev: v0.8.0
        hooks:
          - id: ruff
            args: [--fix]
          - id: ruff-format
      - repo: https://gitlab.com/bmares/check-json5
        rev: v1.0.0
        hooks:
          - id: check-json5
      - repo: https://github.com/pdm-project/pdm
        rev: 2.20.1
        hooks:
          - name: check production requirements
            id: pdm-export
            args: ["-o", "requirements.txt", "--without-hashes", "--prod"]
            files: ^pdm.lock$
      - repo: https://github.com/pdm-project/pdm
        rev: 2.20.1
        hooks:
          - name: check development requirements
            id: pdm-export
            args: ["-o", "requirements.dev.txt", "--without-hashes", "--dev"]
            files: ^pdm.lock$
      - repo: https://github.com/pdm-project/pdm
        rev: 2.20.1
        hooks:
          - id: pdm-lock-check
      - repo: https://github.com/djlint/djLint
        rev: v1.36.2
        hooks:
          - id: djlint-reformat-django
          - id: djlint-reformat-jinja
          - id: djlint-django
          - id: djlint-jinja
      - repo: local
        hooks:
          - name: Check for uncreated migrations.
            id: migrations-check
            language: system
            entry: sh -c "pdm manage makemigrations --check --dry-run"
            files: "models/.*.py$"
            types:
              - python
            stages:
              - pre-commit
          - name: prettier
            id: prettier
            entry: yarn prettier --write --ignore-unknown
            language: node
            "types": [text]