From 94ca11d5db0088d1e193b7123ab3776c57be07f3 Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 28 Sep 2025 15:55:19 -0700 Subject: [PATCH 1/2] chore(_oligos): Fix static typing of _oligos module. --- src/designer_dna/_oligos.pyi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/designer_dna/_oligos.pyi b/src/designer_dna/_oligos.pyi index 237562c..428a8ce 100644 --- a/src/designer_dna/_oligos.pyi +++ b/src/designer_dna/_oligos.pyi @@ -28,9 +28,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from array import array -from typing import Any -def m_reverse(sequence: array[int]) -> Any: +def m_reverse(sequence: array[int]) -> None: """Reverse a nucleotide sequence. Args: @@ -58,7 +57,7 @@ def reverse(sequence: str) -> str: """ -def m_complement(sequence: array[int], dna: bool = ...) -> Any: +def m_complement(sequence: array[int], dna: bool = ...) -> None: """Complement a nucleotide sequence. Args: @@ -88,7 +87,7 @@ def complement(sequence: str, dna: bool = ...) -> str: """ -def m_reverse_complement(sequence: array[int], dna: bool = ...) -> Any: +def m_reverse_complement(sequence: array[int], dna: bool = ...) -> None: """Reverse complement a nucleotide sequence. Args: From e48535e2c41afebeda797f4ab252fde1124314e8 Mon Sep 17 00:00:00 2001 From: Spill-Tea Date: Sun, 28 Sep 2025 17:40:30 -0700 Subject: [PATCH 2/2] ci(workflows.docs): Fix documentation deployment workflow to checkout all tags. --- .github/workflows/build-docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index e639f70..965ad98 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true + ref: ${{ github.event.repository.default_branch }} - name: Set up Python uses: actions/setup-python@v5