diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8934cfb2301ac637bd7ed7921c92be712d689012..5043b343cbb020c1aeef8770b0261ac182445687 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,14 +1,19 @@ +--- +repos: - repo: https://github.com/pre-commit/pre-commit-hooks sha: v1.1.1 hooks: - id: check-added-large-files + - id: check-executables-have-shebangs - id: check-merge-conflict + - id: check-symlinks + - id: detect-aws-credentials + - id: detect-private-key - id: flake8 - files: \.pythonstartup|Documents/bin/vagrant-.* - repo: https://www.shore.co.il/git/shell-pre-commit/ - sha: v0.5.4 + sha: v0.6.0 hooks: - id: shell-lint - files: bashrc|post-merge|profile|docker-|wifi-login|renew-certs|dma-clean|gen-ssh-config|dconf-load|install-git-hooks|pocketchip-battery|update-voltage|pipenv + exclude: &excluded_shellscripts \.bash_completion\.d/(docker_machine\.bash|fabric-completion.bash)|\.travis/travis\.sh - id: shellcheck - files: bashrc|post-merge|profile|docker-|wifi-login|renew-certs|dma-clean|gen-ssh-config|dconf-load|install-git-hooks|pocketchip-battery|update-voltage|pipenv + exclude: *excluded_shellscripts diff --git a/.pythonstartup b/.pythonstartup old mode 100644 new mode 100755 index 70e0b6fdecb18f9df79ecb3c49d038707d079e70..9f9a1997e2841f7209444abb3007575c05409d38 --- a/.pythonstartup +++ b/.pythonstartup @@ -1,2 +1,3 @@ +#!/usr/bin/env python from pprint import PrettyPrinter pprint = PrettyPrinter().pprint