-
Notifications
You must be signed in to change notification settings - Fork 155
Static tracker behavior with multiple targets #54
Comments
I think that is because I think I would suggest two things:
Putting both together, commands would look like: $python -m r2t2 static example1.py example2.py
$python -m r2t2 run example1.py -- arg1 arg2 ( |
I like the idea of sub-commands, from a user's perspective that's much clearer (and I think I also think using The |
Yes, at the moment it accepts only one argument, and it cannot be a directory I believe (unlike for the static checker). That differentiation would also be more clear with sub commands. |
If the format argument is used, then it will default to output to the directory of the passed in script. |
If you pass multiple targets to the static tracker, it will only give the outputs from the first file, silently ignoring the rest. This is true for static by itself, and also with the
--docstring
flag. It should probably either parse all the files or raise an Exception if it gets multiple files?Minimal working example:
file
example1.py
:file
example2.py
:Run:
Output:
Expected output:
The text was updated successfully, but these errors were encountered: