prettier: set pass_filenames: false to avoid multiple passes

Updated `.prettierignore` to ingnore the typical Python environment files from `.venv`

If you are running pre-commit locally you probably have a Python environment setup.

This PR speeds up the prettier hook and avoids multiple passes through the targetted files.
This commit is contained in:
John Bampton
2025-12-30 01:51:58 +10:00
parent 9f0950da13
commit 3c7d19d41b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ repos:
files: \.(json|md|ya?ml)$
language: node
additional_dependencies: ["prettier@3.7.4"]
pass_filenames: false
stages: [manual]
- id: check-zip-file-is-not-committed
name: disallow zip files
+1
View File
@@ -3,3 +3,4 @@ build
coverage
doc/internal/opcode.md
tools/lrama
.venv