-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-hooks.yaml
26 lines (26 loc) · 974 Bytes
/
.pre-commit-hooks.yaml
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
- id: pipenv-requirements
name: pipenv-requirements
description: Generate a requirements.txt for Pipenv environment.
entry: pipenv-lock-pre-commit-requirements
language: python
files: ^(.+/)?Pipfile(\.lock)?$
args: [--requirements-file=requirements.txt]
- id: pipenv-requirements-dev
name: pipenv-requirements-dev
description: Generate a requirements-dev.txt for Pipenv environment.
entry: pipenv-lock-pre-commit-requirements --dev-only
args: [--requirements-file=requirements-dev.txt]
language: python
files: ^(.+/)?Pipfile(\.lock)?$
- id: pipenv-verify
name: pipenv-verify
description: Verify the hash in Pipfile.lock is up-to-date.
entry: pipenv-lock-pre-commit-verify
language: python
files: ^(.+/)?Pipfile(\.lock)?$
- id: pipenv-lock
name: pipenv-lock
description: Generates Pipfile.lock.
entry: pipenv-lock-pre-commit-lock
language: python
files: ^(.+/)?Pipfile(\.lock)?$