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.

Flakeheaven & nbqa

See original GitHub issue

Is there a way to make flakeheaven work with nbqa the same way one can already make flake8 run on Jupyter notebooks?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
MarcoGorellicommented, Jul 17, 2022

New release of nbQA made,

nbqa flake8heavened notebook.ipynb --nbqa-shell

should now work

1reaction
MarcoGorellicommented, Jan 17, 2022

I’m tempted to add a --nbqa-shell flag, such that nbQA would run command directly rather than python -m command. This would also open it up to non-Python tools (e.g. prettier). I think that would solve this issue, so long as the user has flakeheaven installed correctly?

Read more comments on GitHub >

github_iconTop Results From Across the Web

nbQA-dev/nbQA: Run isort, pyupgrade, mypy, pylint ... - GitHub
Run isort, pyupgrade, mypy, pylint, flake8, black, blacken-docs, and more on Jupyter Notebooks · ✓ handles IPython magics robustly · ✓ respects your...
Read more >
Python flake8 and noqa weird interaction with flake8-noqa
Weirdly, any call to `flake8` from the command line work just fine: no errors in the second case. I am confused. Anyone care...
Read more >
Supported hooks - pre-commit
pycln - A formatter for finding and removing unused import statements. github.com/nbQA-dev/nbQA. nbqa - Run any standard Python code quality tool on a...
Read more >
flakeheaven - PyPI
flakeheaven is a python linter built around flake8 to enable inheritable and complex toml configuration. This project is a fork of FlakeHell.
Read more >
Known limitations — nbQA 1.5.3 documentation
Because nbQA converts the code cells in Jupyter notebooks to temporary Python files for linting, certain flags like flake8 's --per-file-ignores don't work....
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