File size: 1,206 Bytes
329ce4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
31
32
33
34
35
36
37
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
  - repo: local
    hooks:
      - id: pysen-lint
        name: pysen-lint
        entry: pysen run lint
        language: python
        types: [file, python]
        stages: [push]
        pass_filenames: false
      - id: poetry-export
        name: poetry-export
        entry: poetry export --without-hashes -o requirements.txt
        language: python
        stages: [push]
        pass_filenames: false
      - id: poetry-export-dev
        name: poetry-export-dev
        entry: poetry export --without-hashes --with dev -o requirements-dev.txt
        language: python
        stages: [push]
        pass_filenames: false
      - id: poetry-export-test
        name: poetry-export-test
        entry: poetry export --without-hashes --with test -o requirements-test.txt
        language: python
        stages: [push]
        pass_filenames: false
      - id: poetry-export-license
        name: poetry-export-license
        entry: poetry export --without-hashes --with license -o requirements-license.txt
        language: python
        stages: [push]
        pass_filenames: false