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

Switch to `compilation-mode' after pytest process finishes #62

Merged
merged 1 commit into from Jul 20, 2022

Conversation

juergenhoetzel
Copy link
Contributor

This makes the standard `compilation-mode' commands and keybindings
available.

Rebind "g" to `python-pytest-repeat'.

Closes #47.

@juergenhoetzel
Copy link
Contributor Author

comint-mode is still required while pytest is running because the debugger --pdb might be invoked.

python-pytest.el Outdated Show resolved Hide resolved
python-pytest.el Outdated Show resolved Hide resolved
@wbolster
Copy link
Owner

oh this is a smart idea! 😍 it never occurred to me that a major mode change can be used for ‘running’ vs ‘finished’ states, with all benefits for error jumping etc

@wbolster wbolster added the enhancement New feature or request label Jul 20, 2022
This makes the standard `compilation-mode' commands and keybindings
available.

Rebind "g" to `python-pytest-repeat'.

Closes wbolster#47.
@juergenhoetzel
Copy link
Contributor Author

thank you for your quick feedback. I amended the commit!

@wbolster wbolster merged commit 9bf8db3 into wbolster:main Jul 20, 2022
@wbolster
Copy link
Owner

🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common shortcuts in run buffer
2 participants