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 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: