Elpy: Quite unclear how to add arguments to e.g. yapf and pytest

Created on 2 Aug 2016  路  3Comments  路  Source: jorgenschaefer/elpy

I was wondering how I could add --pdb and -x to the pytest command?
"elpy-test" seems nicer than "pytest-pdb-all", but I would really like elpy-test to drop into pdb on some mistake.

Question

Most helpful comment

You can customize elpy-test-pytest-runner-command like (setq elpy-test-pytest-runner-command '("py.test" "--pdb" "-x")).

Does this help? :-)

All 3 comments

You can customize elpy-test-pytest-runner-command like (setq elpy-test-pytest-runner-command '("py.test" "--pdb" "-x")).

Does this help? :-)

That helps, thanks!

Glad to hear that. I'll close this issue then, but please do not hesitate to open a new one if you have any further problems or questions. Enjoy Elpy! :-)

Was this page helpful?
0 / 5 - 0 ratings