-
Notifications
You must be signed in to change notification settings - Fork 317
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
Extended support for filtering files copied in the exchange #1108
Conversation
- ignore too large files - ignore non explicitly included files
Reviews welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think this looks great, thanks a lot! I don't have any major comments, but it would be great if you wanted to include some integration tests too 🙂
…eaks - Only files too large trigger a warning. Otherwise just a debug message. - Quote filenames in the log.
Thanks Jessica for the review! All requested changes are done now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks a lot!
nbgrader/coursedir.py
Outdated
help=dedent( | ||
""" | ||
List of file names or file globs: non matching files | ||
will be ignored with a warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe say you need to use the DEBUG log level to see the warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good point, forgot to update that part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, and polished a bit the option documentation at this occasion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hmm, seems that the |
Oops, I indeed had forgotten to update the tests after a function name update. Fixed! |
Resolves #874.