Skip to content

Commit 525f88e

Browse files
committed
fix modules
1 parent d734b8b commit 525f88e

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2727
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2828
run: |
29-
make build
29+
make submodules build
3030
twine upload dist/*
3131
release_environment:
3232
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

.github/workflows/test_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
max-parallel: 12
2121
matrix:
22-
python-version: ["3.11", "3.12", "3.13"]
22+
python-version: ["3.13"]
2323
os: [ubuntu-latest]
2424
steps:
2525
- uses: actions/checkout@v4
@@ -31,4 +31,4 @@ jobs:
3131
- name: Install Dependencies
3232
run: uv sync --all-extras
3333
- name: Run Tests
34-
run: make test
34+
run: make modules test

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ repos:
1212
- id: pretty-format-toml
1313
args: [--autofix]
1414
- repo: https://github.com/kynan/nbstripout
15-
rev: 0.7.1
15+
rev: 0.8.1
1616
hooks:
1717
- id: nbstripout
1818
files: ".ipynb"
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: "v0.4.4"
20+
rev: "v0.11.0"
2121
hooks:
2222
- id: ruff
23-
args: [--fix, --exit-non-zero-on-fix]
23+
args: [--fix, --exit-non-zero-on-fix, --config=pyproject.toml]
2424
- id: ruff-format

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
install: modules
2-
pip install -e .[dev,docs]
2+
uv venv --python 3.12
3+
uv sync --extra docs --extra dev
34

45
dev:
56
uv sync --all-extras
@@ -9,6 +10,7 @@ dev:
910
modules:
1011
git config --global --add safe.directory sky130
1112
git config --global --add safe.directory sky130/src
13+
git config --global --add safe.directory /__w/skywater130/skywater130
1214
git submodule
1315
git submodule update --init --recursive
1416

@@ -47,4 +49,4 @@ tech:
4749
docs:
4850
uv run jb build docs
4951

50-
.PHONY: gdsdiff build conda docs
52+
.PHONY: gdsdiff build conda docs modules

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Then you can install with:
4242
```bash
4343
git clone https://github.com/gdsfactory/sky130.git
4444
cd sky130
45+
make install
4546
uv venv --python 3.12
4647
uv sync --extra docs --extra dev
4748
```

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ classifiers = [
1313
"Programming Language :: Python :: 3.12",
1414
"Operating System :: OS Independent"
1515
]
16-
1716
dependencies = [
1817
"gdsfactory>=9.5.10",
1918
"PySpice"

0 commit comments

Comments
 (0)