Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

chore: register prompt-injection-firewall with the monorepo pre-commit ruff hook

CarterPerez-devf061fb30462d
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 357909bc..3ce99694 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -99,6 +99,12 @@ repos:
files: ^PROJECTS/beginner/linux-ebpf-security-tracer/
exclude: (\.venv|__pycache__|\.pytest_cache)/
+ - id: ruff
+ name: ruff check (prompt-injection-firewall)
+ args: [--fix, --exit-non-zero-on-fix]
+ files: ^PROJECTS/beginner/prompt-injection-firewall/
+ exclude: (\.venv|__pycache__|\.pytest_cache|\.mypy_cache|\.hypothesis)/
+
# Foundations projects
- id: ruff
name: ruff check (hash-identifier)