question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jupytext is being run on files that are not generated by jupytext

See original GitHub issue

Hi, my understanding is that #745 introduced support for jupytext, and that https://github.com/nbQA-dev/nbQA/commit/b95808d3f26f33d5df23774a015b90541eaec0af#diff-d72c6dc865400b582f957459d2f13e4030da8a9f8afdec522def74313d29a25fR129 should be discarding any markdown files not generated by jupytext.

Is that correct?

If so, what I observe in one of my repositories is that README.md, which clearly was not generated by jupytext, is still getting processed by nbqa flake8. This in turn might be causing unexpected CI failures.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
francesco-ballarincommented, Sep 28, 2022

Thanks for the quick fix.

I need to wait for https://github.com/FEniCS/dolfinx/pull/2384 before I can check the fix in v1.5.2 (your fix and that PR are totally unrelated, but my current main branch was affected by both). I’ll report back here as soon as I can test v1.5.2.

0reactions
MarcoGorellicommented, Oct 1, 2022

nice, thanks for checking (and for the report )!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupytext not pairing file.ipynb with file.py #868 - GitHub
I am currently struggling to get jupytext to actually pair file.ipynb with file.py. For reference I am running Ubuntu 20.04.3 LTS.
Read more >
Configuration - Jupytext documentation - Read the Docs
If you want that the text files created by Jupytext have no metadata, you may use the global metadata filters below. Please note...
Read more >
Jupytext documentation
If you want that the text files created by Jupytext have no metadata, you may use the global metadata filters below.
Read more >
Frequently Asked Questions - Jupytext documentation
Open your pre-existing scripts or Markdown files as notebooks with a click in Jupyter Notebook, and with the Open as Notebook menu in...
Read more >
Notebook formats - Jupytext documentation - Read the Docs
Jupytext supports conversion between the .ipynb format and many different formats. This page describes each format, as well as some considerations for each....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found