Skip to content

Conversation

@aqathelas
Copy link

@aqathelas aqathelas commented Sep 20, 2025

This is a fix for the issue described in #191. I added a --testmon-imports-recursion-depth option, which is an integer that defaults to -1. Any value below 0 disables the feature. Otherwise, it is used to determine how many levels to recursively include imports. At 0, we only include the modules directly imported by the test.

Closes #191

@tarpas
Copy link
Owner

tarpas commented Nov 10, 2025

Hi @aqathelas thanks for the effort. I need to think quite a bit about this, but it's inspiring nevertheless. If you're by chance interested in discussing please write me an email to [email protected]

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.

Changes to global / class variables are ignored (if no method of their module is executed)

2 participants