mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
add information about flip and autopep8 for the prehook script
This commit is contained in:
parent
10cbf59f16
commit
b378f3f84c
@ -53,6 +53,14 @@ if ! type -p flip >/dev/null; then
|
||||
}
|
||||
else
|
||||
echo "flip not found" >&2
|
||||
echo "Try:"
|
||||
if [[ -f /etc/fedora-release ]]; then
|
||||
echo " dnf install dos2unix";
|
||||
elif [[ -f /etc/debian_version ]]; then
|
||||
echo " apt install flip";
|
||||
else
|
||||
echo " installing flip or dos2unix from your package manager";
|
||||
fi
|
||||
flip() {
|
||||
:
|
||||
}
|
||||
@ -61,6 +69,14 @@ fi
|
||||
|
||||
if ! type -p autopep8 >/dev/null; then
|
||||
echo "autopep8 not found" >&2
|
||||
echo "Try:"
|
||||
if [[ -f /etc/fedora-release ]]; then
|
||||
echo " dnf install python3-autopep8";
|
||||
elif [[ -f /etc/debian_version ]]; then
|
||||
echo " apt install python3-autopep8";
|
||||
else
|
||||
echo " installing python3-autopep8 from your package manager";
|
||||
fi
|
||||
autopep8() {
|
||||
:
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user