-
Notifications
You must be signed in to change notification settings - Fork 4
new logic for tests - bad and good example; hook checking nb outputs; #61
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
base: main
Are you sure you want to change the base?
Conversation
I think it could, with maybe a more clear naming convention (like tests/passing/(hook_name).py, tests/failing/(hook_name).py )? Same goes for example notebooks I suppose. And maybe a good idea would be to add a CI job to run the hooks on those files as well. |
.pre-commit-config.yaml
Outdated
| args: [--fix-header, --repo-name=devops_tests] | ||
| language: python | ||
| types: [jupyter] | ||
| exclude: tests/examples/bad/ |
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.
Needed to actually make commit. We can think about running this pre-commits only on CI.
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.
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.
Yes, but then we have to remove this hook from config because the suggested code will not run on excluded files.
|


No description provided.