Skip to content

Commit

Permalink
Add black and flake8 to python3 install #831
Browse files Browse the repository at this point in the history
  • Loading branch information
fnoop committed Apr 30, 2019
1 parent 6d48d35 commit 6f5b16c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions manifests/maverick-modules/base/manifests/python.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
) {

# Install custom python 3.7
# It is STRONGLY recommended not to disable this - Maverick and associated projects target python 3.7+
if $maverick_python == true {
# If ~/var/build/.install_flag_python exists, skip pulling source and compiling
if ! ("install_flag_python" in $installflags) {
Expand Down Expand Up @@ -104,6 +105,16 @@
pkgname => "virtualenvwrapper",
ensure => present,
timeout => 0,
} ->
install_python_module { "pip-black":
pkgname => "black",
ensure => present,
timeout => 0,
} ->
install_python_module { "pip-flake8":
pkgname => "flake8",
ensure => present,
timeout => 0,
}

# Install PyRIC and netifaces, python modules necessary to run maverick --netinfo
Expand Down

0 comments on commit 6f5b16c

Please sign in to comment.