Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Fixes pre-commit installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvnivs committed Oct 31, 2023
1 parent f09a004 commit 7df1da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email '[email protected]'
license 'All Rights Reserved'
description 'Installs/Configures workstation'
version '5.16.0'
version '5.16.1'

chef_version '>= 17.2'
issues_url 'https://github.com/z0c/jarbas/issues'
Expand Down
4 changes: 2 additions & 2 deletions recipes/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
jarbas_package 'python'

# pip packages
pip_packages = %w(pip pytest tox pre-commit)
pip_packages = %w(python-pip python-pytest python-tox pre-commit)
pip_packages.each do |p|
case node['platform']
when 'arch', 'manjaro'
jarbas_package "python-#{p}"
jarbas_package p
when 'mac_os_x'
jarbas_execute "pip_package[#{p}]" do
command "pip3 install #{p}"
Expand Down

0 comments on commit 7df1da6

Please sign in to comment.