Skip to content

Commit c7a8e96

Browse files
authored
Merge pull request #214 from gdsfactory/add_version
add version
2 parents 11bc11f + ac588bb commit c7a8e96

File tree

7 files changed

+24
-15
lines changed

7 files changed

+24
-15
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v6
17+
- name: Remove samples
18+
run: make rm-samples
1719
- uses: astral-sh/setup-uv@v7.1.3
1820
- run: make build
1921
- uses: actions/upload-artifact@v6

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ repos:
8888
- id: mbake-format
8989
args: ['--config=.github/.bake.toml']
9090
- repo: https://github.com/LilSpazJoekp/docstrfmt
91-
rev: v1.11.1
91+
rev: v2.0.1
9292
hooks:
9393
- id: docstrfmt
9494
language_version: python3

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all build clean convert-notebooks copy-sample-notebooks docs docs-latex docs-pdf git-rm-merged help install run-pre setup-ipython-config test test-fail-fast test-force test-gds test-gds-fail-fast test-gds-force update-pre write-cells write-makefile-help
1+
.PHONY: all build clean convert-notebooks copy-sample-notebooks docs docs-latex docs-pdf git-rm-merged help install rm-samples run-pre setup-ipython-config test test-fail-fast test-force test-gds test-gds-fail-fast test-gds-force update-pre write-cells write-makefile-help
22

33
# Based on https://gist.github.com/prwhite/8168133?permalink_comment_id=4718682#gistcomment-4718682
44
help: ##@ (Default) Print listing of key targets with their descriptions
@@ -20,6 +20,9 @@ else { \
2020
install: ##@ Install the package and all development dependencies
2121
uv sync --all-extras --all-groups
2222

23+
rm-samples: ##@ Remove samples folder
24+
rm -rf qpdk/samples
25+
2326
CLEAN_DIRS := dist build *.egg-info docs/_build docs/notebooks
2427
clean: ##@ Clean up all build, test, coverage and Python artifacts
2528
rm -rf $(CLEAN_DIRS)

docs/api.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
API
2-
===
1+
#####
2+
API
3+
#####
34

45
The autogenerated documentation for PCells and simulation models is presented here.
56

docs/models.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
Models
2-
======
1+
########
2+
Models
3+
########
34

45
.. automodule:: qpdk.models
56
:synopsis: Code for S-parameter and other modelling
67
:members:
78
:undoc-members:
89
:show-inheritance:
910

10-
References
11-
----------
11+
************
12+
References
13+
************
1214

1315
.. bibliography::
1416
:filter: docname in docnames

docs/notebooks.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Notebooks
2-
=========
1+
###########
2+
Notebooks
3+
###########
34

45
These notebooks demonstrate integration to other relevant tools for design and
56
simulations.

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.13",
1616
"Programming Language :: Python :: 3.14",
1717
]
18-
dependencies = ["doroutes>=0.2.0", "gdsfactory>=9.15.0,<9.31.1"]
18+
dependencies = ["doroutes>=0.2.0", "gdsfactory>=9.29.1,<9.31.1"]
1919

2020
[project.optional-dependencies]
2121
models = [
@@ -66,10 +66,10 @@ exclude = ["tests", "docs"]
6666
[tool.gdsfactoryplus.drc]
6767
timeout = 300
6868

69-
[tool.gdsfactoryplus.sim.wls]
70-
# units = "frequency"
71-
min = 30000
72-
max = 3000000
69+
[tool.gdsfactoryplus.sim.x]
70+
max = 20 # 20GHz
71+
min = 1 # 1GHz
72+
name = "f"
7373
num = 3000
7474

7575
[tool.gdsfactoryplus.pdk]

0 commit comments

Comments
 (0)