Skip to content

Commit 186b04a

Browse files
- fixed the CI collection errors and implemented a local pre-commit hook to automate testing.
scripts/diagnose_collapse.py was still attempting to import the missing function, causing a collection error during the pytest run. src/spatial_transcript_former/recipes/hest/dataset.py contained a docstring reference that was confusing the documentation/test collection.
1 parent 9f28809 commit 186b04a

5 files changed

Lines changed: 10 additions & 498 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ repos:
1414
hooks:
1515
- id: black
1616
language_version: python3
17+
18+
- repo: local
19+
hooks:
20+
- id: pytest
21+
name: pytest
22+
entry: conda run -n SpatialTranscriptFormer --no-capture-output python -m pytest
23+
language: system
24+
pass_filenames: false
25+
always_run: true

0 commit comments

Comments
 (0)