Skip to content

Commit e618706

Browse files
committed
comment
1 parent c132b6f commit e618706

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎template/.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ repos:
298298
- repo: local
299299
hooks:
300300
- id: pyright-on-tests
301-
name: pyright-on-tests
301+
name: Run pyright on tests of the library # to mimic a downstream consumer of the library who uses pyright as their type checker, see https://pyrefly.org/blog/too-many-type-checkers/
302302
entry: bash -c "uv run pyright"
303303
files: ^tests/.+\.py$
304304
exclude: |

‎template/pyrightconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// excludes managed by this repository
66

77
// excludes managed by template
8+
"tests/unit/vcrpy_fixtures.py", // configures vcrpy, which is untyped, and imports nothing from the package under test
89
"**/generated",
910
"**/vendor_files",
1011
"**/node_modules",

0 commit comments

Comments
 (0)