Skip to content

Commit 1589a90

Browse files
liniting + clean up
1 parent 5be128e commit 1589a90

15 files changed

+303
-188232
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.github/workflows/render-notebook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'notebooks/tutorial_few_shot_learning.ipynb'
8+
- 'tutorial.ipynb'
99
pull_request:
1010
branches:
1111
- main
1212
paths:
13-
- 'notebooks/tutorial_few_shot_learning.ipynb'
13+
- 'tutorial.ipynb'
1414
workflow_dispatch:
1515

1616
permissions:
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
jupyter nbconvert \
4040
--to html \
41-
notebooks/tutorial_few_shot_learning.ipynb \
41+
tutorial.ipynb \
4242
--output tutorial_few_shot_learning.html \
4343
--output-dir docs/
4444

.gitignore

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,8 @@ dmypy.json
151151

152152
# Cython debug symbols
153153
cython_debug/
154-
data/
155154

156155
.DS_Store
157156

158-
# Exclude not needed notebooks files
159-
#notebooks/exploration.ipynb
160-
notebooks/class_template.ipynb
161-
notebooks/few_shot_approaches_setup.ipynb
162-
163-
presentation/tutorial-new-tutorial-group-1-NARRATIVE.html
164-
presentation/figures/tutorial-new-tutorial-group-1-NARRATIVE.ipynb
157+
# Exclude entire notebooks folder
158+
notebooks/

.pre-commit-config.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ repos:
5555
rev: v0.8.2
5656
hooks:
5757
# Recommended to run linter first of automatic fixes are enabled (as some linting fixes might require reformatting)
58-
- id: ruff
59-
#Automatic linting fixes
60-
types_or: [ python, pyi, jupyter ]
61-
args: [ --fix ]
62-
#stages: [manual]
6358
- id: ruff-format
64-
types_or: [ python, pyi, jupyter ]
65-
#stages: [manual]
59+
types_or: [python, pyi, jupyter]
60+
stages: [manual]
61+
62+
# Linter: optional auto-fixes
63+
- id: ruff
64+
args: [--fix]
65+
types_or: [python, pyi, jupyter]
66+
stages: [manual]

data/.DS_Store

-6 KB
Binary file not shown.

data/generate_pv_masks.py

Lines changed: 0 additions & 58 deletions
This file was deleted.

data/load_rid_data.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

notebooks/class_template.ipynb

Lines changed: 0 additions & 489 deletions
This file was deleted.

notebooks/exploration.ipynb

Lines changed: 0 additions & 182627 deletions
This file was deleted.

0 commit comments

Comments
 (0)