Loading .pre-commit-config.yaml +2 −3 Original line number Diff line number Diff line Loading @@ -6,10 +6,9 @@ - id: flake8 files: \.pythonstartup|Documents/Shore/cleanup/vagrant-.* - repo: https://www.shore.co.il/git/shell-pre-commit/ sha: v0.5.0 sha: master sha: v0.5.3 hooks: - id: shell-lint files: &shellscripts '\.bashrc|\.githooks/post-merge|\.profile|Documents/Shore/cleanup/docker-.*|Documents/train-wifi\.sh|renew-certs' files: &shellscripts 'bashrc|post-merge|profile|docker-|train-wifi|renew-certs' - id: shellcheck files: *shellscripts Documents/train-wifi.sh→Documents/train-wifi +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ # Logs in to the Israeli train's wifi. # Requires: cURL, sh, awk, logger, nmcli. # To install run: # sudo cp --preserve=mode train-wifi.sh /etc/NetworkManager/dispatcher.d/90trainwifi # sudo cp --preserve=mode train-wifi /etc/NetworkManager/dispatcher.d/90trainwifi set -eu Loading Loading
.pre-commit-config.yaml +2 −3 Original line number Diff line number Diff line Loading @@ -6,10 +6,9 @@ - id: flake8 files: \.pythonstartup|Documents/Shore/cleanup/vagrant-.* - repo: https://www.shore.co.il/git/shell-pre-commit/ sha: v0.5.0 sha: master sha: v0.5.3 hooks: - id: shell-lint files: &shellscripts '\.bashrc|\.githooks/post-merge|\.profile|Documents/Shore/cleanup/docker-.*|Documents/train-wifi\.sh|renew-certs' files: &shellscripts 'bashrc|post-merge|profile|docker-|train-wifi|renew-certs' - id: shellcheck files: *shellscripts
Documents/train-wifi.sh→Documents/train-wifi +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ # Logs in to the Israeli train's wifi. # Requires: cURL, sh, awk, logger, nmcli. # To install run: # sudo cp --preserve=mode train-wifi.sh /etc/NetworkManager/dispatcher.d/90trainwifi # sudo cp --preserve=mode train-wifi /etc/NetworkManager/dispatcher.d/90trainwifi set -eu Loading