adventurous-island-1104807/22/2022, 9:04 PM
I noticed it recursed down into my python package to add a
file to every level of the Python package. Is this required to have all of those
files, or can you have one for each python package?
witty-crayon-2278607/22/2022, 9:06 PM
file per relevant directory, as it’s effectively inevitable that you’ll need metadata for some of your files
adventurous-island-1104807/22/2022, 9:09 PM
witty-crayon-2278607/22/2022, 9:10 PM
wide-midnight-7859807/22/2022, 9:11 PM
witty-crayon-2278607/22/2022, 9:12 PM
adventurous-island-1104807/22/2022, 9:20 PM
high-yak-8589907/22/2022, 9:21 PM
directory for unit tests. If you place the
file for those resources in that directory, you then have to use absolute references in the directory you care about (often only one level up) which is burdensome.
Instead, I like referencing my testdata files where my test targets live so I can use simpler target syntax when setting dependencies.
happy-kitchen-8948207/22/2022, 9:36 PM
) in their
to capture all the subdirs.
won't help you there though, but you could roll your own similar thing, or just do it manually since there would be a lot fewer to begin with.