diff --git a/lenskit/lenskit/data/__init__.py b/lenskit/lenskit/data/__init__.py index 3dc3343d4..ecea5252b 100644 --- a/lenskit/lenskit/data/__init__.py +++ b/lenskit/lenskit/data/__init__.py @@ -3,6 +3,7 @@ # Copyright (C) 2023-2024 Drexel University # Licensed under the MIT license, see LICENSE.md for details. # SPDX-License-Identifier: MIT + from __future__ import annotations from typing_extensions import Literal, TypeAlias diff --git a/lenskit/lenskit/pipeline/state.py b/lenskit/lenskit/pipeline/state.py index 10433fe12..f92e98ebb 100644 --- a/lenskit/lenskit/pipeline/state.py +++ b/lenskit/lenskit/pipeline/state.py @@ -1,3 +1,9 @@ +# This file is part of LensKit. +# Copyright (C) 2018-2023 Boise State University +# Copyright (C) 2023-2024 Drexel University +# Licensed under the MIT license, see LICENSE.md for details. +# SPDX-License-Identifier: MIT + # pyright: strict from collections.abc import Mapping from typing import Any, Iterator diff --git a/lenskit/lenskit/splitting/records.py b/lenskit/lenskit/splitting/records.py index 63fa8881a..0a7c69de7 100644 --- a/lenskit/lenskit/splitting/records.py +++ b/lenskit/lenskit/splitting/records.py @@ -3,6 +3,7 @@ # Copyright (C) 2023-2024 Drexel University # Licensed under the MIT license, see LICENSE.md for details. # SPDX-License-Identifier: MIT + from __future__ import annotations import logging diff --git a/lenskit/lenskit/types.py b/lenskit/lenskit/types.py index bcaecdadb..49a8202e5 100644 --- a/lenskit/lenskit/types.py +++ b/lenskit/lenskit/types.py @@ -1,3 +1,9 @@ +# This file is part of LensKit. +# Copyright (C) 2018-2023 Boise State University +# Copyright (C) 2023-2024 Drexel University +# Licensed under the MIT license, see LICENSE.md for details. +# SPDX-License-Identifier: MIT + # pyright: strict from __future__ import annotations diff --git a/lenskit/tests/test_pipeline_state.py b/lenskit/tests/test_pipeline_state.py index c9fe6b8f5..4ed5a14e2 100644 --- a/lenskit/tests/test_pipeline_state.py +++ b/lenskit/tests/test_pipeline_state.py @@ -1,3 +1,9 @@ +# This file is part of LensKit. +# Copyright (C) 2018-2023 Boise State University +# Copyright (C) 2023-2024 Drexel University +# Licensed under the MIT license, see LICENSE.md for details. +# SPDX-License-Identifier: MIT + from pytest import raises from lenskit.pipeline import PipelineState