From 802b27fa3852e371043676da0fe10320c21d68c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 16 May 2020 15:16:51 +0100 Subject: Add pre-commit configuration for REUSE.software. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The only files that were lacking a license were the 0-sized __init__.py files — since those are not copyrighteable, make them Unlicense relesed. --- .pre-commit-config.yaml | 4 ++++ LICENSES/Unlicense.txt | 20 ++++++++++++++++++++ glucometerutils/__init__.py | 3 +++ glucometerutils/drivers/__init__.py | 3 +++ glucometerutils/drivers/tests/__init__.py | 3 +++ glucometerutils/support/__init__.py | 3 +++ glucometerutils/support/tests/__init__.py | 3 +++ glucometerutils/tests/__init__.py | 3 +++ reversing_tools/__init__.py | 3 +++ reversing_tools/abbott/__init__.py | 3 +++ 10 files changed, 48 insertions(+) create mode 100644 LICENSES/Unlicense.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed6bdb9..be139a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,3 +23,7 @@ repos: rev: 3.7.9 hooks: - id: flake8 +- repo: https://github.com/fsfe/reuse-tool + rev: latest + hooks: + - id: reuse diff --git a/LICENSES/Unlicense.txt b/LICENSES/Unlicense.txt new file mode 100644 index 0000000..24a8f90 --- /dev/null +++ b/LICENSES/Unlicense.txt @@ -0,0 +1,20 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or distribute +this software, either in source code form or as a compiled binary, for any +purpose, commercial or non-commercial, and by any means. + +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and +to the detriment of our heirs and successors. We intend this dedication to +be an overt act of relinquishment in perpetuity of all present and future +rights to this software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH +THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, +please refer to diff --git a/glucometerutils/__init__.py b/glucometerutils/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/__init__.py +++ b/glucometerutils/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/glucometerutils/drivers/__init__.py b/glucometerutils/drivers/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/drivers/__init__.py +++ b/glucometerutils/drivers/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/glucometerutils/drivers/tests/__init__.py b/glucometerutils/drivers/tests/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/drivers/tests/__init__.py +++ b/glucometerutils/drivers/tests/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/glucometerutils/support/__init__.py b/glucometerutils/support/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/support/__init__.py +++ b/glucometerutils/support/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/glucometerutils/support/tests/__init__.py b/glucometerutils/support/tests/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/support/tests/__init__.py +++ b/glucometerutils/support/tests/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/glucometerutils/tests/__init__.py b/glucometerutils/tests/__init__.py index e69de29..4b386c3 100644 --- a/glucometerutils/tests/__init__.py +++ b/glucometerutils/tests/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/reversing_tools/__init__.py b/reversing_tools/__init__.py index e69de29..4b386c3 100644 --- a/reversing_tools/__init__.py +++ b/reversing_tools/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense diff --git a/reversing_tools/abbott/__init__.py b/reversing_tools/abbott/__init__.py index e69de29..4b386c3 100644 --- a/reversing_tools/abbott/__init__.py +++ b/reversing_tools/abbott/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2013 The glucometerutils Authors +# +# SPDX-License-Identifier: Unlicense -- cgit v1.2.3