diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 9d4d723..3f76adc 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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: @@ -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 @@ -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 }} @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 084909c..547e44a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 ] diff --git a/src/designer_dna/_oligos.pyx b/src/designer_dna/_oligos.pyx index 13c0786..57d7c87 100644 --- a/src/designer_dna/_oligos.pyx +++ b/src/designer_dna/_oligos.pyx @@ -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 diff --git a/src/designer_dna/headers/common.pxd b/src/designer_dna/headers/common.pxd index ed3581e..9fb0ed9 100644 --- a/src/designer_dna/headers/common.pxd +++ b/src/designer_dna/headers/common.pxd @@ -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