From 323e1230d47845d6e709b4c01eb34e66b2fac05a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:35:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/conf.py | 3 +++ examples/multi-env-files/print_version.py | 3 +++ examples/multi-env-files/test_get_version.py | 3 +++ scripts/ap-to-cp.py | 3 +++ src/conda_project/__init__.py | 3 +++ src/conda_project/__main__.py | 3 +++ src/conda_project/cli/__init__.py | 3 +++ src/conda_project/cli/commands.py | 3 +++ src/conda_project/cli/main.py | 3 +++ src/conda_project/conda.py | 3 +++ src/conda_project/exceptions.py | 3 +++ src/conda_project/project_file.py | 3 +++ src/conda_project/utils.py | 3 +++ tests/__init__.py | 3 +++ tests/conftest.py | 3 +++ tests/test_archive.py | 3 +++ tests/test_cli.py | 3 +++ tests/test_commands.py | 3 +++ tests/test_conda.py | 3 +++ tests/test_dependencies.py | 3 +++ tests/test_init.py | 3 +++ tests/test_install.py | 3 +++ tests/test_project.py | 3 +++ tests/test_project_file.py | 3 +++ tests/test_utils.py | 3 +++ 25 files changed, 75 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 01d79b61..6c1282e1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/examples/multi-env-files/print_version.py b/examples/multi-env-files/print_version.py index 3ccb076f..0684e547 100644 --- a/examples/multi-env-files/print_version.py +++ b/examples/multi-env-files/print_version.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/examples/multi-env-files/test_get_version.py b/examples/multi-env-files/test_get_version.py index 2b1ea48a..fdc66c84 100644 --- a/examples/multi-env-files/test_get_version.py +++ b/examples/multi-env-files/test_get_version.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/scripts/ap-to-cp.py b/scripts/ap-to-cp.py index c1de333a..08a35146 100644 --- a/scripts/ap-to-cp.py +++ b/scripts/ap-to-cp.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/src/conda_project/__init__.py b/src/conda_project/__init__.py index 1d6ec8f3..bb4b11b5 100644 --- a/src/conda_project/__init__.py +++ b/src/conda_project/__init__.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/src/conda_project/__main__.py b/src/conda_project/__main__.py index 3b142c7b..b791c998 100644 --- a/src/conda_project/__main__.py +++ b/src/conda_project/__main__.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause from .cli.main import main diff --git a/src/conda_project/cli/__init__.py b/src/conda_project/cli/__init__.py index bdb866bf..1f554a22 100644 --- a/src/conda_project/cli/__init__.py +++ b/src/conda_project/cli/__init__.py @@ -1,3 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/src/conda_project/cli/commands.py b/src/conda_project/cli/commands.py index 923e70cc..ac5e8bbb 100644 --- a/src/conda_project/cli/commands.py +++ b/src/conda_project/cli/commands.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause import logging diff --git a/src/conda_project/cli/main.py b/src/conda_project/cli/main.py index 83a0db6f..d576d701 100644 --- a/src/conda_project/cli/main.py +++ b/src/conda_project/cli/main.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/src/conda_project/conda.py b/src/conda_project/conda.py index 7bc83f01..c5b93676 100644 --- a/src/conda_project/conda.py +++ b/src/conda_project/conda.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/src/conda_project/exceptions.py b/src/conda_project/exceptions.py index 5fc8a718..007f4af8 100644 --- a/src/conda_project/exceptions.py +++ b/src/conda_project/exceptions.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/src/conda_project/project_file.py b/src/conda_project/project_file.py index cf789531..3d356b0d 100644 --- a/src/conda_project/project_file.py +++ b/src/conda_project/project_file.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2024 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/src/conda_project/utils.py b/src/conda_project/utils.py index 7b440cbc..474cfcb9 100644 --- a/src/conda_project/utils.py +++ b/src/conda_project/utils.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/__init__.py b/tests/__init__.py index bdb866bf..1f554a22 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/conftest.py b/tests/conftest.py index 67e8767d..b69204b9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2024 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_archive.py b/tests/test_archive.py index a2bfa35d..41205ac8 100644 --- a/tests/test_archive.py +++ b/tests/test_archive.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_cli.py b/tests/test_cli.py index 6e494216..921a663d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause from argparse import Namespace diff --git a/tests/test_commands.py b/tests/test_commands.py index fc82e3f1..4beb525c 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_conda.py b/tests/test_conda.py index 6f45c2bd..39e1395c 100644 --- a/tests/test_conda.py +++ b/tests/test_conda.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_dependencies.py b/tests/test_dependencies.py index 81df4a58..8a3b2e9d 100644 --- a/tests/test_dependencies.py +++ b/tests/test_dependencies.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_init.py b/tests/test_init.py index 023f1449..102038e4 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause import logging diff --git a/tests/test_install.py b/tests/test_install.py index 2cfd9300..748fe86a 100644 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_project.py b/tests/test_project.py index 9d48279c..91347a87 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -1,4 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2024 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_project_file.py b/tests/test_project_file.py index 73a895ff..68d99fa8 100644 --- a/tests/test_project_file.py +++ b/tests/test_project_file.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/test_utils.py b/tests/test_utils.py index e4ca04c8..744bb22b 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,3 +1,6 @@ +# Copyright (C) 2022-2024 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause + # Copyright (C) 2022 Anaconda, Inc # SPDX-License-Identifier: BSD-3-Clause