Skip to content

Support to lint JupyterNotebook #110

Open

Description

@santhoshramaraj

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

Activity

  1. mshafer-NI commented on Mar 6, 2023

    @mshafer-NI
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions