-
Notifications
You must be signed in to change notification settings - Fork 418
Expand file tree
/
Copy pathpy3_pre_commit.rb
More file actions
31 lines (26 loc) · 1.02 KB
/
py3_pre_commit.rb
File metadata and controls
31 lines (26 loc) · 1.02 KB
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
require 'buildsystems/pip'
class Py3_pre_commit < Pip
description 'A framework for managing and maintaining multi-language pre-commit hooks.'
homepage 'https://pre-commit.com/'
version "4.5.1-#{CREW_PY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'c284ee176f61d1287ad3837ee2f968cd169d40bc2ba8a7dbc349ea918e8fd8bb',
armv7l: 'c284ee176f61d1287ad3837ee2f968cd169d40bc2ba8a7dbc349ea918e8fd8bb',
i686: '70c09fae08a861cb253fd5225c607b999815220f5ede6ed1b7744288c8ce6bf0',
x86_64: 'b9c2db4ca1316a9ec339bbaf44d3788bafbc6861e90490c3769f1694652576ce'
})
depends_on 'py3_cfgv'
depends_on 'py3_identify' => :logical
depends_on 'py3_nodeenv' => :logical
depends_on 'py3_pyyaml' => :logical
depends_on 'py3_virtualenv' => :logical
depends_on 'python3' # R
no_source_build
def self.postinstall
ExitMessage.add "\nTo complete the install, execute 'pre-commit install --install-hooks' in your local repository.\n".lightblue
end
end