From 56c4ef91a8672156d302846136675cc132791e51 Mon Sep 17 00:00:00 2001 From: Amir Mohammadi Date: Fri, 25 Oct 2024 10:40:59 +0200 Subject: [PATCH] chore: add Amir Mohammadi as contributor in multiple files since git history is lost Since this package was renamed from bob.extension to clapper, Amir's contributions to these files were lost. Amir was a major contributer to bob.extension: https://gitlab.idiap.ch/bob/bob.extension/-/graphs/master?ref_type=heads This commit lists Amir as a contributer on multiple files to remedy this issue. --- doc/click.rst | 1 + doc/config.rst | 1 + doc/rc.rst | 1 + pyproject.toml | 3 ++- src/clapper/click.py | 2 ++ src/clapper/config.py | 2 ++ src/clapper/logging.py | 2 ++ src/clapper/rc.py | 2 ++ tests/test_click.py | 1 + tests/test_config.py | 1 + tests/test_rc.py | 1 + 11 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/click.rst b/doc/click.rst index 84e9199..ee72f92 100644 --- a/doc/click.rst +++ b/doc/click.rst @@ -1,4 +1,5 @@ .. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +.. SPDX-FileContributor: Amir Mohammadi .. .. SPDX-License-Identifier: BSD-3-Clause diff --git a/doc/config.rst b/doc/config.rst index 1885b0c..3dc9237 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -1,4 +1,5 @@ .. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +.. SPDX-FileContributor: Amir Mohammadi .. .. SPDX-License-Identifier: BSD-3-Clause diff --git a/doc/rc.rst b/doc/rc.rst index 548a131..3b842d8 100644 --- a/doc/rc.rst +++ b/doc/rc.rst @@ -1,4 +1,5 @@ .. SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +.. SPDX-FileContributor: Amir Mohammadi .. .. SPDX-License-Identifier: BSD-3-Clause diff --git a/pyproject.toml b/pyproject.toml index 3d3f585..7490f93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause @@ -13,7 +14,7 @@ requires-python = ">=3.10" description = "Configuration Support for Python Packages and CLIs" readme = "README.md" license = "BSD-3-Clause" -authors = [{ name = "Andre Anjos", email = "andre.anjos@idiap.ch" }] +authors = [{ name = "Andre Anjos", email = "andre.anjos@idiap.ch" }, { name = "Amir Mohammadi", email = "amir.mohammadi@idiap.ch" }] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", diff --git a/src/clapper/click.py b/src/clapper/click.py index d773cfd..25505f7 100644 --- a/src/clapper/click.py +++ b/src/clapper/click.py @@ -1,6 +1,8 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause + """Helpers to build command-line interfaces (CLI) via :py:mod:`click`.""" import functools diff --git a/src/clapper/config.py b/src/clapper/config.py index c17bd4a..d5946e7 100644 --- a/src/clapper/config.py +++ b/src/clapper/config.py @@ -1,6 +1,8 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause + """Functionality to implement python-based config file parsing and loading.""" import importlib.util diff --git a/src/clapper/logging.py b/src/clapper/logging.py index 4e72ede..6a429dd 100644 --- a/src/clapper/logging.py +++ b/src/clapper/logging.py @@ -1,6 +1,8 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause + """:py:class:`logging.Logger` setup and stream separation.""" import logging diff --git a/src/clapper/rc.py b/src/clapper/rc.py index 6bc2af5..b425386 100644 --- a/src/clapper/rc.py +++ b/src/clapper/rc.py @@ -1,6 +1,8 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause + """Implements a global configuration system setup and readout.""" import collections.abc diff --git a/tests/test_click.py b/tests/test_click.py index c3980f4..8c455f7 100644 --- a/tests/test_click.py +++ b/tests/test_click.py @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_config.py b/tests/test_config.py index 5536731..4e28a55 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_rc.py b/tests/test_rc.py index 39d5719..f0e15bc 100644 --- a/tests/test_rc.py +++ b/tests/test_rc.py @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: Copyright © 2022 Idiap Research Institute +# SPDX-FileContributor: Amir Mohammadi # # SPDX-License-Identifier: BSD-3-Clause