Skip to content

Commit

Permalink
add pre-commit stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Sep 3, 2024
1 parent a4e770a commit 3c95112
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ DISABLE_AUTO_UPDATE="true"
#ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
COMPLETION_WAITING_DOTS="false"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
Expand Down Expand Up @@ -203,4 +203,7 @@ echo "Preparing Teleport SSH..."
mkdir -p /root/.ssh
tsh config > /root/.ssh/config

echo "Preparing pre-commit hooks..."
cd /src
pre-commit install
pre-commit autoupdate
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG TARGETPLATFORM
RUN apt update && apt install python3-pip python3 pipx git curl zsh dialog jq yq fzf exa neovim locales gettext-base -y
COPY locale.gen /etc/locale.gen
RUN locale-gen
RUN pipx install pre-commit
RUN pipx install --include-deps ansible
RUN pipx inject ansible pytz pynetbox infisical-python netaddr

Expand Down

0 comments on commit 3c95112

Please sign in to comment.