From 7b225a6de31c486c3fc6413192bf14d273b7754d Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 28 Dec 2023 15:33:41 -0600 Subject: [PATCH] adding a compliant copyright line to all code Signed-off-by: Brian S. Stephan --- incorporealcms/__init__.py | 1 + incorporealcms/config.py | 1 + incorporealcms/error_pages.py | 1 + incorporealcms/lib.py | 1 + incorporealcms/mdx/__init__.py | 1 + incorporealcms/mdx/figures.py | 1 + incorporealcms/mdx/pydot.py | 1 + incorporealcms/pages.py | 1 + incorporealcms/static.py | 6 +++++- setup.py | 1 + tests/conftest.py | 1 + tests/functional_markdown_tests.py | 1 + tests/functional_tests.py | 1 + tests/instance/config.py | 1 + tests/test_factory.py | 1 + tests/test_pages.py | 1 + 16 files changed, 20 insertions(+), 1 deletion(-) diff --git a/incorporealcms/__init__.py b/incorporealcms/__init__.py index d571076..2a40112 100644 --- a/incorporealcms/__init__.py +++ b/incorporealcms/__init__.py @@ -1,5 +1,6 @@ """An application for running my Markdown-based sites. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import logging diff --git a/incorporealcms/config.py b/incorporealcms/config.py index d09d641..6e54e3b 100644 --- a/incorporealcms/config.py +++ b/incorporealcms/config.py @@ -1,5 +1,6 @@ """Default configuration. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ diff --git a/incorporealcms/error_pages.py b/incorporealcms/error_pages.py index b694d68..61a4628 100644 --- a/incorporealcms/error_pages.py +++ b/incorporealcms/error_pages.py @@ -1,5 +1,6 @@ """Error page views for 400, 404, etc. +SPDX-FileCopyrightText: © 2021 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ from incorporealcms.lib import render diff --git a/incorporealcms/lib.py b/incorporealcms/lib.py index 8a51b7b..b25a773 100644 --- a/incorporealcms/lib.py +++ b/incorporealcms/lib.py @@ -1,5 +1,6 @@ """Miscellaneous helper functions and whatnot. +SPDX-FileCopyrightText: © 2021 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import logging diff --git a/incorporealcms/mdx/__init__.py b/incorporealcms/mdx/__init__.py index c62c085..11c15ab 100644 --- a/incorporealcms/mdx/__init__.py +++ b/incorporealcms/mdx/__init__.py @@ -1,4 +1,5 @@ """Markdown extensions. +SPDX-FileCopyrightText: © 2021 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ diff --git a/incorporealcms/mdx/figures.py b/incorporealcms/mdx/figures.py index 06dd641..7817234 100644 --- a/incorporealcms/mdx/figures.py +++ b/incorporealcms/mdx/figures.py @@ -1,5 +1,6 @@ """Create generic figures with captions. +SPDX-FileCopyrightText: © 2022 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import re diff --git a/incorporealcms/mdx/pydot.py b/incorporealcms/mdx/pydot.py index 7ee7548..987eb13 100644 --- a/incorporealcms/mdx/pydot.py +++ b/incorporealcms/mdx/pydot.py @@ -1,5 +1,6 @@ """Serve dot diagrams inline. +SPDX-FileCopyrightText: © 2021 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import base64 diff --git a/incorporealcms/pages.py b/incorporealcms/pages.py index cfedfbf..5f501ec 100644 --- a/incorporealcms/pages.py +++ b/incorporealcms/pages.py @@ -1,5 +1,6 @@ """General page functionality. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import datetime diff --git a/incorporealcms/static.py b/incorporealcms/static.py index f7fa083..368c740 100644 --- a/incorporealcms/static.py +++ b/incorporealcms/static.py @@ -1,4 +1,8 @@ -"""Serve static files from the instance directory.""" +"""Serve static files from the instance directory. + +SPDX-FileCopyrightText: © 2022 Brian S. Stephan +SPDX-License-Identifier: AGPL-3.0-or-later +""" import os from flask import Blueprint diff --git a/setup.py b/setup.py index 538fe6c..e88dcde 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ """Setuptools configuration. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import os diff --git a/tests/conftest.py b/tests/conftest.py index 9cde9be..c4b4b17 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,6 @@ """Create the test app and other fixtures. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import os diff --git a/tests/functional_markdown_tests.py b/tests/functional_markdown_tests.py index 15f4d2b..42931bb 100644 --- a/tests/functional_markdown_tests.py +++ b/tests/functional_markdown_tests.py @@ -1,5 +1,6 @@ """Test graphviz functionality. +SPDX-FileCopyrightText: © 2021 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import os diff --git a/tests/functional_tests.py b/tests/functional_tests.py index f90daf3..aaca5cb 100644 --- a/tests/functional_tests.py +++ b/tests/functional_tests.py @@ -1,5 +1,6 @@ """Test page requests. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import re diff --git a/tests/instance/config.py b/tests/instance/config.py index 0d6bd4a..50a81cd 100644 --- a/tests/instance/config.py +++ b/tests/instance/config.py @@ -1,5 +1,6 @@ """Configure the test application. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ diff --git a/tests/test_factory.py b/tests/test_factory.py index 99b16a6..b0e2953 100644 --- a/tests/test_factory.py +++ b/tests/test_factory.py @@ -1,5 +1,6 @@ """Test basic configuration stuff. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import os diff --git a/tests/test_pages.py b/tests/test_pages.py index 4abf196..c161b5c 100644 --- a/tests/test_pages.py +++ b/tests/test_pages.py @@ -1,5 +1,6 @@ """Unit test helper methods. +SPDX-FileCopyrightText: © 2020 Brian S. Stephan SPDX-License-Identifier: AGPL-3.0-or-later """ import os