chore: fix linters
diff --git a/.envrc b/.envrc
index 65326bb..1d953f4 100644
--- a/.envrc
+++ b/.envrc
@@ -1 +1 @@
-use nix
\ No newline at end of file
+use nix
diff --git a/.gitignore b/.gitignore
index 95e16ce..04b46cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,4 @@
tests/output
*.orig
*.rej
-.direnv
\ No newline at end of file
+.direnv
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 17c6b27..761474e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,8 +5,9 @@
rev: v4.3.0
hooks:
- id: end-of-file-fixer
+ exclude: ^images/.*/patches/.*\.patch$
- id: trailing-whitespace
- exclude: ^images/.*/patches/.*/.*\.patch$
+ exclude: ^images/.*/patches/.*\.patch$
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.0.0
diff --git a/build/pin-images.py b/build/pin-images.py
index 7650d68..53363a3 100755
--- a/build/pin-images.py
+++ b/build/pin-images.py
@@ -14,6 +14,7 @@
SKIP_IMAGE_LIST = ["secretgen_controller"]
+
def get_digest(image_ref, token=None):
headers = {}
if token: