Skip to content

Commit 3ff544d

Browse files
committed
chore: move CI helper scripts into ci_scripts
1 parent 99090e8 commit 3ff544d

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pip install -r docs/requirements.txt
3636
3737
- name: Build versioned docs site
38-
run: python scripts/build_versioned_docs.py
38+
run: python ci_scripts/build_versioned_docs.py
3939

4040
- name: Setup GitHub Pages
4141
uses: actions/configure-pages@v3

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ stubgen:
3535
sed -i 's/ q_home: numpy\.ndarray\[tuple\[M\], numpy\.dtype\[numpy\.float64\]\] | None/ q_home: numpy.ndarray | None/' python/rcs/_core/common.pyi
3636
python -c "from pathlib import Path; p=Path('python/rcs/_core/common.pyi'); t=p.read_text(); t=t.replace('numpy.ndarray[tuple[typing.Literal[2], N], numpy.dtype[numpy.float64]]', 'numpy.ndarray[tuple[typing.Literal[2], typing.Any], numpy.dtype[numpy.float64]]'); p.write_text(t)"
3737
python -c "from pathlib import Path; p=Path('python/rcs/_core/sim.pyi'); t=p.read_text(); t=t.replace('numpy.ndarray[tuple[typing.Literal[2], N], numpy.dtype[numpy.float64]]', 'numpy.ndarray[tuple[typing.Literal[2], typing.Any], numpy.dtype[numpy.float64]]'); t=t.replace(', max_buffer_frames: int = 100', ''); p.write_text(t)"
38-
python scripts/generate_common_typing.py
38+
python ci_scripts/generate_common_typing.py
3939
ruff check --fix python/rcs/_core python/rcs/common_typing.py
4040
isort python/rcs/_core python/rcs/common_typing.py
4141
black python/rcs/_core python/rcs/common_typing.py

0 commit comments

Comments
 (0)