Skip to content
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

use notebooks for ease of use #284

Merged
merged 10 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading