mirror of
https://github.com/gsi-upm/sitc
synced 2025-12-15 09:38:16 +00:00
Add Makefile
This commit is contained in:
@@ -20,10 +20,36 @@ pip install nbstripout
|
||||
nbstripout --install
|
||||
```
|
||||
This will install a git hook that strips all metadata from the notebooks before you commit changes to git.
|
||||
|
||||
You can also remove the output from all cells using this command:
|
||||
|
||||
```
|
||||
make clean
|
||||
```
|
||||
|
||||
To limit the command to a specific folder (e.g. ml1):
|
||||
```
|
||||
make FOLDER=ml1 clean
|
||||
```
|
||||
4. Submit your pull request on GitHub.
|
||||
5. A member of the GSI-UPM group will review your request.
|
||||
6. The reviewer may ask for further changes before merging the contribution. Please, follow the reviewer's instructions before resubmitting.
|
||||
|
||||
|
||||
## Testing the changes
|
||||
|
||||
You can execute all notebooks at once to make sure they work with this command:
|
||||
|
||||
```
|
||||
make exec
|
||||
```
|
||||
|
||||
To only check notebooks in a specific folder, run:
|
||||
|
||||
```
|
||||
make FOLDER=ml2 exec # Run all notebooks in the ml2 folder
|
||||
```
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
### Our Pledge
|
||||
|
||||
Reference in New Issue
Block a user