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 to lint JupyterNotebook #110

Open
santhoshramaraj opened this issue Feb 24, 2023 · 1 comment
Open

Support to lint JupyterNotebook #110

santhoshramaraj opened this issue Feb 24, 2023 · 1 comment

Comments

@santhoshramaraj
Copy link
Member

How would one lint Jupyter Notebooks using ni-python-styleguide?

@mshafer-NI
Copy link
Collaborator

Great question.

Since ni-python-styleguide is a flake8 aggregator, I tried following this SO:
https://stackoverflow.com/a/47204361 (even though invoking flake8 directly will miss the configs ni-python-styleguide provides); however, I keep getting errors in JupyterLab (AttributeError: '_io.StringIO' object has no attribute 'buffer') so I'm not sure the proposed solution there is up to date...

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

No branches or pull requests

2 participants