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

Support for running nbqa on quatro format (.qmd) markdown files #881

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hguturu
Copy link

@hguturu hguturu commented Mar 18, 2025

Closes #880

Two main changes:

  • Added check for .qmd when using Jupytext
  • Added conversion of leading quartro cell options #| that get changed to # | by black/ruff back to #|
    (_restore_quarto_cell_options) - in theory this can be dropped if black and ruff natively support this format
  • Added test_jupytext.test_qmd and supporting resource tests/data/notebook_for_testing.qmd to test new functionality
  • Updated README.md with .qmd support feature
  • Updated requirements-dev.txt and setup.cfg with quarto-cli dependency

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.

Feature Request: Add support for qmd markdown files
1 participant