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

Have code_prettify use an external tool? #1626

Open
mforbes opened this issue Dec 31, 2022 · 0 comments
Open

Have code_prettify use an external tool? #1626

mforbes opened this issue Dec 31, 2022 · 0 comments

Comments

@mforbes
Copy link

mforbes commented Dec 31, 2022

Would be possible/easy to have code_prettify use an external tool? Currently I have to include the prettifier yapf as a kernel dependency, but this is poor practice in principle (introduces additional project dependencies with potential conflicts, etc.) Instead, we are moving to a different model where all such tools are installed at the system or environment level (pipx install yapf for example) and it would be very nice if code_prettify could use these installations instead.

As it seems to be based on KernelExecOnCells, I am not sure how easy this would be. Is it an easy change or should one develop a new extension?

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

No branches or pull requests

1 participant