File: .pre-commit-hooks.yaml

package info (click to toggle)
pdm 2.26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,664 kB
  • sloc: python: 26,438; sh: 314; javascript: 34; makefile: 26
file content (28 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- id: pdm-lock-check
  name: pdm-lock-check
  description: run pdm lock --check to validate config
  entry: pdm lock --check
  language: python
  language_version: python3
  pass_filenames: false
  files: ^pyproject.toml$
- id: pdm-export
  name: pdm-export-lock
  description: export locked packages to requirements.txt or setup.py
  entry: pdm export
  language: python
  language_version: python3
  pass_filenames: false
  files: ^pdm.lock$
- id: pdm-sync
  name: pdm-sync
  description: sync current working set with pdm.lock
  entry: pdm sync
  language: python
  language_version: python3
  pass_filenames: false
  stages:
    - post-checkout
    - post-merge
    - post-rewrite
  always_run: true