Skip to content

Speed up pytest collection#36

Merged
jburgy merged 7 commits into
mainfrom
speed-up-pytest-collection
Feb 22, 2026
Merged

Speed up pytest collection#36
jburgy merged 7 commits into
mainfrom
speed-up-pytest-collection

Conversation

@jburgy

@jburgy jburgy commented Feb 22, 2026

Copy link
Copy Markdown
Owner

Use collect_ignore in conftest.py to skip 2 kinds of modules:

  • missing __name__ == "__main__" guard because it would be annoying to add
  • importing heavy dependencies like scipy or pandas

@jburgy jburgy merged commit 540d197 into main Feb 22, 2026
4 checks passed
@jburgy jburgy deleted the speed-up-pytest-collection branch February 22, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant