nbqa-dev / nbqa Goto Github PK
View Code? Open in Web Editor NEWRun ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks
Home Page: https://nbqa.readthedocs.io/en/latest/index.html
License: MIT License
Run ruff, isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks
Home Page: https://nbqa.readthedocs.io/en/latest/index.html
License: MIT License
currently it says
[black]
line-length=96
[flake8]
max-line-length=88
ignore=E203,W503,W504
Great tool, look forward to using it and apply to my notebooks on https://github.com/neomatrix369/awesome-ai-ml-dl.
How would one run this on Kaggle Kernels or Google Colab notebooks? Can it be run from inside the notebook on the notebook? Or maybe we could use it via a Utility Script on Kaggle.
Would love to know? As this would open up a whole world of possibilities.
I'd temporarily added this to debug an error on the Windows build in azure pipelines, looks like I forgot to remove it
can re-use same ids in pre-commit
this isn't useful output
test_notebook.py:3:1: F401 'numpy as np' imported but unused
but this would be
test_notebook.ipynb::cell 3::3:1 F401 'numpy as np' imported but unused
flake-nb, black-nb, nb-black. autoformatter...
For example the line
% matplotlib inline
results in the error message
Cannot parse: x:x: %matplotlib inline
oh no!
running on - Windows 10 10.0.17134
Docs are really important and should be treated as such
this'll pay off long term
flake8 doesn't modify files' output, so neither should nbqa flake8
e.g. ignore-missing-imports
currently, 'authors' shows just me, even though there have been two other contributors
Not entirely sure if I want to do something about this or just leave it up to users to make sure their notebooks end with a blank cell. That's what happens if you do "run all" within Jupyter Lab anyway
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.