Skip to content
Snippets Groups Projects
Commit c83642a7 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 3bce8a21
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,9 @@ ...@@ -6,10 +6,9 @@
- id: flake8 - id: flake8
files: \.pythonstartup|Documents/Shore/cleanup/vagrant-.* files: \.pythonstartup|Documents/Shore/cleanup/vagrant-.*
- repo: https://www.shore.co.il/git/shell-pre-commit/ - repo: https://www.shore.co.il/git/shell-pre-commit/
sha: v0.5.0 sha: v0.5.3
sha: master
hooks: hooks:
- id: shell-lint - 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 - id: shellcheck
files: *shellscripts files: *shellscripts
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
# Logs in to the Israeli train's wifi. # Logs in to the Israeli train's wifi.
# Requires: cURL, sh, awk, logger, nmcli. # Requires: cURL, sh, awk, logger, nmcli.
# To install run: # 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 set -eu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment