Skip to content
Snippets Groups Projects
Commit ce7ba721 authored by nimrod's avatar nimrod
Browse files

Run pre-commit hooks on direnv files.

They're basically shell scripts.
parent abf9f31c
No related branches found
No related tags found
No related merge requests found
...@@ -90,12 +90,18 @@ repos: ...@@ -90,12 +90,18 @@ repos:
- id: shell-validate - id: shell-validate
exclude: &excluded_shellscripts |- exclude: &excluded_shellscripts |-
\.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose) \.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 - repo: https://github.com/shellcheck-py/shellcheck-py.git
rev: v0.7.2.1 rev: v0.7.2.1
hooks: hooks:
- id: shellcheck - id: shellcheck
exclude: *excluded_shellscripts exclude: *excluded_shellscripts
- id: shellcheck
files: '\.envrc$'
types: [text]
- repo: https://github.com/executablebooks/mdformat.git - repo: https://github.com/executablebooks/mdformat.git
rev: 0.7.9 rev: 0.7.9
......
#!/usr/bin/env bash
export AWS_DEFAULT_PROFILE=dojo-csp export AWS_DEFAULT_PROFILE=dojo-csp
export GIT_AUTHOR_NAME='Nimrod Adar' export GIT_AUTHOR_NAME='Nimrod Adar'
export GIT_AUTHOR_EMAIL='nimrod.adar@bullguard.com' export GIT_AUTHOR_EMAIL='nimrod.adar@bullguard.com'
# shellcheck shell=bash disable=SC1091
source_up source_up
layout pipenv layout pipenv
export AWS_DEFAULT_PROFILE='chorusone' export AWS_DEFAULT_PROFILE='chorusone'
......
# shellcheck shell=bash disable=SC1091
source_up source_up
layout pipenv layout pipenv
export AWS_DEFAULT_PROFILE=endlessm export AWS_DEFAULT_PROFILE=endlessm
......
# shellcheck shell=bash
source_up source_up
export AWS_CONFIG_FILE="$HOME/.smile/aws/config" export AWS_CONFIG_FILE="$HOME/.smile/aws/config"
export AWS_PROFILE=smile-security export AWS_PROFILE=smile-security
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment