You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute ptw in the main directory, the tests in test_generate_synth_data.py are only executed when I change the call_api.py, but not when I change e.g. the generate_synth_data.py or a test in tests. call_api.py imports all files in src. I thought that ptw would "follow" imports or at least "find" all .py files in subdirectories? Am I missing something?
Edit: I accidently hit ctrl+enter too early, thus posting an empty issue at first.
The text was updated successfully, but these errors were encountered:
andb0t
changed the title
ptw doesn
ptw doesn't "watch" subdirectories
Apr 8, 2021
In my python project, I use
ptw
. My project is structured as follows:When I execute
ptw
in the main directory, the tests intest_generate_synth_data.py
are only executed when I change thecall_api.py
, but not when I change e.g. thegenerate_synth_data.py
or a test intests
.call_api.py
imports all files insrc
. I thought thatptw
would "follow" imports or at least "find" all.py
files in subdirectories? Am I missing something?Edit: I accidently hit ctrl+enter too early, thus posting an empty issue at first.
The text was updated successfully, but these errors were encountered: