Commit ce7ba721 authored by nimrod's avatar nimrod
Browse files

Run pre-commit hooks on direnv files.

They're basically shell scripts.
parent abf9f31c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -90,12 +90,18 @@ repos:
      - id: shell-validate
        exclude: &excluded_shellscripts |-
          \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose)
      - id: shell-validate
        files: '\.envrc$'
        types: [text]

  - repo: https://github.com/shellcheck-py/shellcheck-py.git
    rev: v0.7.2.1
    hooks:
      - id: shellcheck
        exclude: *excluded_shellscripts
      - id: shellcheck
        files: '\.envrc$'
        types: [text]

  - repo: https://github.com/executablebooks/mdformat.git
    rev: 0.7.9
+1 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash
export AWS_DEFAULT_PROFILE=dojo-csp
export GIT_AUTHOR_NAME='Nimrod Adar'
export GIT_AUTHOR_EMAIL='nimrod.adar@bullguard.com'
+1 −0
Original line number Diff line number Diff line
# shellcheck shell=bash disable=SC1091
source_up
layout pipenv
export AWS_DEFAULT_PROFILE='chorusone'
+1 −0
Original line number Diff line number Diff line
# shellcheck shell=bash disable=SC1091
source_up
layout pipenv
export AWS_DEFAULT_PROFILE=endlessm
+1 −0
Original line number Diff line number Diff line
# shellcheck shell=bash
source_up
export AWS_CONFIG_FILE="$HOME/.smile/aws/config"
export AWS_PROFILE=smile-security