๐Ÿ“ฆ gimbo / pip_compile_worktree_bug_demo

๐Ÿ“„ .pre-commit-config.yaml ยท 24 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24---

default_language_version:
    python: python3.9
minimum_pre_commit_version: 2.17.0

repos:

  - repo: https://github.com/jazzband/pip-tools
    rev: 6.5.1
    hooks:
      - id: pip-compile
        name: pip-compile requirements.in
        args:
          - '--allow-unsafe'
          - '--annotate'
          - '--annotation-style=split'
          - '--build-isolation'
          - '--verbose'
          - '--pip-args="--verbose"'
          - requirements.in
        verbose: true
        files: ^requirements\.(in|txt)$