Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: PyTemplate CI
name: DesignerDNA CI

on:
push:
Expand All @@ -16,7 +13,7 @@ jobs:
fail-fast: false

steps:
- name: Checkout PyTemplate Project
- name: Checkout DesignerDNA Project
uses: actions/checkout@v4

- name: Set up Python
Expand Down Expand Up @@ -48,7 +45,7 @@ jobs:
python-version: [ "3.11", "3.12" ]

steps:
- name: Checkout PyTemplate Project
- name: Checkout DesignerDNA Project
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -120,9 +117,9 @@ jobs:

- name: Install addlicense
run: |
go install github.com/google/addlicense@v1.1.1
go install github.com/Spill-Tea/addlicense-pre-commit@v1.2.0

- name: Check for License Headers
run: |
addlicense -check -f LICENSE src
addlicense -check -f LICENSE tests
addlicense-pre-commit -check -f LICENSE src
addlicense-pre-commit -check -f LICENSE tests
7 changes: 3 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ repos:
- id: requirements-txt-fixer

- repo: https://github.com/Spill-Tea/addlicense-pre-commit
rev: v1.1.3
rev: v1.2.0
hooks:
- id: addlicense
entry: addlicense-pre-commit
language: golang
exclude: ^docs/
args: [
-f, LICENSE,
]
args: [ -f, LICENSE ]
types_or: [ python, cython, c ]
12 changes: 6 additions & 6 deletions src/designer_dna/_oligos.pyx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# BSD 3-Clause License

#
# Copyright (c) 2025, Spill-Tea

#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:

#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.

#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.

#
# 3. Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.

#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand Down
12 changes: 6 additions & 6 deletions src/designer_dna/headers/common.pxd
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# BSD 3-Clause License

#
# Copyright (c) 2025, Spill-Tea

#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:

#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.

#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.

#
# 3. Neither the name of the copyright holder nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.

#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Expand Down
Loading