Skip to content

Commit

Permalink
fix(notebook): run pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathts07 committed Nov 7, 2024
1 parent 198edf1 commit e5dde29
Show file tree
Hide file tree
Showing 7 changed files with 696 additions and 880 deletions.
682 changes: 302 additions & 380 deletions notebooks/cloud-functions-template/notebook.ipynb

Large diffs are not rendered by default.

885 changes: 387 additions & 498 deletions notebooks/create-dash-app/notebook.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/author-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import re
import sys

import tomllib


Expand Down
1 change: 1 addition & 0 deletions resources/lesson-check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import os
import sys

import tomllib


Expand Down
3 changes: 2 additions & 1 deletion resources/nb-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import json
import os
import sys
import tomllib
import uuid
from typing import Any
from typing import List

import tomllib


NOTEBOOK_HEADER = [
'<div id="singlestore-header" style="display: flex; background-color: {background_color}; padding: 5px;">\n',
Expand Down
1 change: 1 addition & 0 deletions resources/nb-meta-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import re
import sys

import tomllib


Expand Down
3 changes: 2 additions & 1 deletion resources/package-samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
import json
import os
import sys
import tomllib
from zipfile import ZipFile

import tomllib


NOTEBOOK_FILE_NAME = 'notebook.ipynb'

Expand Down

0 comments on commit e5dde29

Please sign in to comment.