Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make --plots a flag with no arguments #19

Open
tbekolay opened this issue Aug 29, 2019 · 0 comments
Open

Make --plots a flag with no arguments #19

tbekolay opened this issue Aug 29, 2019 · 0 comments

Comments

@tbekolay
Copy link
Member

tbekolay commented Aug 29, 2019

Right now you can do

pytest --plots

or

pytest --plots my_cool_plotdir

to pass a directory in which to make plots. However, it's now also possible to set the plot directory in a config file. And it's quite annoying to do something like

pytest --plots nengo/tests/test_ensemble.py

and end up inadvertently making a nengo/tests/test_ensemble.py directory with a bunch of plots in it. So maybe we should just remove the ability to pass in a plot directory through the command line, and have --plots just be a flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant