Skip to content

Commit

Permalink
Exclude encrypted python file from pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jan 31, 2024
1 parent 2b340c2 commit a341a6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ repos:
rev: "23.12.1"
hooks:
- id: black
# This is a `.py` file but is encrypted with sops
exclude: deployer/commands/generate/cryptnono_config/enc-blocklist-generator.secret.py

# Lint: Python code
- repo: https://github.com/pycqa/flake8
rev: "6.1.0"
hooks:
- id: flake8
# This is a `.py` file but is encrypted with sops
exclude: deployer/commands/generate/cryptnono_config/enc-blocklist-generator.secret.py

# Run `terraform fmt` on all our terraform files automatically
- repo: https://github.com/yuvipanda/terraform-bin
Expand Down

0 comments on commit a341a6d

Please sign in to comment.