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

Allow notebook authors to disable lint checks other than by comments in code? #141

Closed
ceball opened this issue May 27, 2020 · 2 comments
Closed
Labels
part: notebook lint Relating to notebook linting

Comments

@ceball
Copy link
Collaborator

ceball commented May 27, 2020

This could be done by any or all of cell tags, cell metadata, notebook metadata.

And when running nbcelltests.lint, you should be able to define how notebook authors can disable checks (if at all).

@ceball
Copy link
Collaborator Author

ceball commented May 27, 2020

Disabling via comment was added in 0.2:

I'm not sure I like disabling rules such as number of cells per notebook via a comment in a code cell, but this might allow someone to integrate with a pre-existing system that already uses such comments for python code.

@ceball ceball changed the title Allow notebook authors to disable lint checks Allow notebook authors to disable lint checks other than by comments in code? May 27, 2020
@ceball ceball removed their assignment May 27, 2020
@timkpaine
Copy link
Collaborator

duplicate, moving to #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part: notebook lint Relating to notebook linting
Projects
None yet
Development

No branches or pull requests

2 participants