Commit 4f3cfa40 authored by nimrod's avatar nimrod
Browse files

- Updated pre-commit hooks (now we'll see some errors).

- Updated list of shell script to check with pre-comit.
- Renamed train-wifi.sh to train-wifi .
parent c6344be6
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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