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

update magics tutorial #909

Merged
merged 6 commits into from
Nov 4, 2024
Merged

update magics tutorial #909

merged 6 commits into from
Nov 4, 2024

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 4, 2024

  • merge separate markdown tutorial into notebook (they had a lot of overlap)
  • update notebook linter config to actually cover a lot more
  • fix bug where --local was accepted to %pxconfig, but doesn't actually work (it's specific to %%px)
  • fix bind_kernel, broken in ipykernel 7 updates
  • update discussion of %autopx in the context of notebooks (i.e. don't use it)

minrk added 4 commits November 4, 2024 12:15
don't advertise it with %pxconfig, it doesn't work
run both via ruff and nbqa

- ruff notebook support doesn't handle namespace rules well with cell magics (F)
- nbqa temp files don't handle isort rules well
- erroneous success status in ruff check with --fix
this isn't tested on CI, so it can break easily
one doc, avoids heavy duplication
@minrk minrk merged commit d8f9407 into ipython:main Nov 4, 2024
15 checks passed
@minrk minrk deleted the magics-example branch November 4, 2024 16:22
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

Successfully merging this pull request may close these issues.

1 participant