Newer
Older
thu-learn-downloader-optimized / .pre-commit-config.yaml
@Qin Li Qin Li on 2 Mar 2023 1 KB fix: fix filename (#29)
ci:
  skip:
    - poetry-lock

repos:
  - repo: https://github.com/commitizen-tools/commitizen
    rev: "v2.42.1"
    hooks:
      - id: commitizen
  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: "v3.0.0-alpha.5"
    hooks:
      - id: prettier
        stages:
          - commit
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: "v4.4.0"
    hooks:
      - id: check-added-large-files
      - id: check-case-conflict
      - id: check-json
      - id: check-symlinks
      - id: check-toml
      - id: check-yaml
      - id: destroyed-symlinks
      - id: end-of-file-fixer
      - id: mixed-line-ending
      - id: trailing-whitespace
  - repo: https://github.com/python-jsonschema/check-jsonschema
    rev: "0.21.0"
    hooks:
      - id: check-dependabot
      - id: check-github-actions
      - id: check-github-workflows
  - repo: https://github.com/python-poetry/poetry
    rev: "1.4.0"
    hooks:
      - id: poetry-check
      - id: poetry-lock
      - id: poetry-export
        args:
          - "--output"
          - "requirements.txt"
          - "--without-hashes"
          - "--without-urls"