Skip to content

Commit

Permalink
Merge pull request #284 from gdsfactory/use_notebooks
Browse files Browse the repository at this point in the history
use notebooks for ease of use
  • Loading branch information
joamatab authored Jan 8, 2024
2 parents 07e3e88 + fddc35c commit 8023fff
Show file tree
Hide file tree
Showing 101 changed files with 16,194 additions and 9,588 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ docs/notebooks/batch-*
*.hdf5
*.msh
*.dat
*.ipynb
*.gds
*.pkl
*.txt
*.csv
*.html
test-data/
_autosummary/
gplugins/path_length_analysis/test_pathlength_reporting/
Expand Down Expand Up @@ -51,7 +52,6 @@ share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
*.ipynb
MANIFEST

# PyInstaller
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,14 @@ repos:
types: [file]
files: \.(j2|yml|yaml)$
exclude: .github/.*|web|elmer
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
files: ".ipynb"
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies:
- tomli
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

install:
pip install -e .[dev,docs,devsim,femwell,gmsh,klayout,meow,meshwell,ray,sax,schematic,tidy3d,vlsir]
pip install git+https://github.com/gdsfactory/gdsfactory --force-reinstall
pre-commit install

dev: test-data gmsh elmer install
Expand Down
8 changes: 4 additions & 4 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sphinx:
"ComponentSpec": "ComponentSpec"
nb_execution_show_tb: True
nb_execution_raise_on_error: true
nb_custom_formats:
.py:
- jupytext.reads
- fmt: py
# nb_custom_formats:
# .py:
# - jupytext.reads
# - fmt: py
1 change: 1 addition & 0 deletions docs/notebooks
217 changes: 0 additions & 217 deletions docs/notebooks/11_get_netlist.py

This file was deleted.

76 changes: 0 additions & 76 deletions docs/notebooks/11_get_netlist_spice.py

This file was deleted.

Loading

0 comments on commit 8023fff

Please sign in to comment.