From 0f2dfbbb40d09f3e8f9dd747ddde8d4ffa4e0d33 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Thu, 4 Jan 2024 11:56:55 +0100 Subject: [PATCH] chore: Add SPDX license tags to vendored code --- LICENSES/MIT.txt | 9 +++++++++ vendor/pydantic-argparse/.github/workflows/linting.yml | 4 ++++ vendor/pydantic-argparse/.github/workflows/tests.yml | 4 ++++ vendor/pydantic-argparse/.github/workflows/typing.yml | 4 ++++ vendor/pydantic-argparse/.gitignore | 4 ++++ vendor/pydantic-argparse/README.md | 6 ++++++ vendor/pydantic-argparse/docs/CNAME.license | 3 +++ .../docs/assets/images/logo.svg.license | 3 +++ .../docs/assets/images/showcase_01.png.license | 3 +++ .../docs/assets/images/showcase_02.png.license | 3 +++ .../docs/assets/images/showcase_03.png.license | 3 +++ .../docs/assets/images/showcase_04.png.license | 3 +++ .../docs/assets/images/showcase_05.png.license | 3 +++ .../docs/assets/images/showcase_06.png.license | 3 +++ .../docs/assets/stylesheets/reference.css.license | 3 +++ vendor/pydantic-argparse/docs/background.md | 6 ++++++ vendor/pydantic-argparse/docs/examples/commands.md | 6 ++++++ vendor/pydantic-argparse/docs/examples/simple.md | 6 ++++++ vendor/pydantic-argparse/docs/index.md | 6 ++++++ .../docs/reference/reference.py.license | 3 +++ vendor/pydantic-argparse/docs/showcase.md | 6 ++++++ vendor/pydantic-argparse/docs/usage/argument_parser.md | 6 ++++++ vendor/pydantic-argparse/docs/usage/arguments/choices.md | 6 ++++++ .../pydantic-argparse/docs/usage/arguments/commands.md | 6 ++++++ vendor/pydantic-argparse/docs/usage/arguments/flags.md | 6 ++++++ vendor/pydantic-argparse/docs/usage/arguments/index.md | 6 ++++++ vendor/pydantic-argparse/docs/usage/arguments/regular.md | 6 ++++++ .../pydantic-argparse/docs/usage/arguments/variadic.md | 6 ++++++ vendor/pydantic-argparse/examples/commands.py | 4 ++++ vendor/pydantic-argparse/examples/simple.py | 4 ++++ vendor/pydantic-argparse/mkdocs.yml | 4 ++++ vendor/pydantic-argparse/pydantic_argparse/__init__.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/__metadata__.py | 4 ++++ .../pydantic_argparse/argparse/__init__.py | 4 ++++ .../pydantic_argparse/argparse/actions.py | 4 ++++ .../pydantic_argparse/argparse/parser.py | 4 ++++ .../pydantic_argparse/argparse/patches.py | 4 ++++ .../pydantic_argparse/parsers/__init__.py | 4 ++++ .../pydantic_argparse/parsers/boolean.py | 4 ++++ .../pydantic_argparse/parsers/command.py | 4 ++++ .../pydantic_argparse/parsers/container.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/parsers/enum.py | 4 ++++ .../pydantic_argparse/parsers/literal.py | 4 ++++ .../pydantic_argparse/parsers/mapping.py | 4 ++++ .../pydantic_argparse/parsers/standard.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/parsers/utils.py | 4 ++++ .../pydantic_argparse/utils/__init__.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/utils/errors.py | 4 ++++ .../pydantic_argparse/utils/namespaces.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/utils/nesting.py | 4 ++++ .../pydantic_argparse/utils/pydantic.py | 4 ++++ .../pydantic-argparse/pydantic_argparse/utils/types.py | 4 ++++ vendor/pydantic-argparse/pyproject.toml | 4 ++++ vendor/pydantic-argparse/tests/__init__.py | 4 ++++ vendor/pydantic-argparse/tests/argparse/__init__.py | 4 ++++ vendor/pydantic-argparse/tests/argparse/test_actions.py | 4 ++++ vendor/pydantic-argparse/tests/argparse/test_parser.py | 4 ++++ vendor/pydantic-argparse/tests/conftest.py | 4 ++++ vendor/pydantic-argparse/tests/functional/__init__.py | 4 ++++ .../tests/functional/test_environment_variables.py | 4 ++++ vendor/pydantic-argparse/tests/parsers/__init__.py | 4 ++++ vendor/pydantic-argparse/tests/utils/__init__.py | 4 ++++ vendor/pydantic-argparse/tests/utils/test_arguments.py | 4 ++++ vendor/pydantic-argparse/tests/utils/test_errors.py | 4 ++++ vendor/pydantic-argparse/tests/utils/test_namespaces.py | 4 ++++ vendor/pydantic-argparse/tests/utils/test_types.py | 4 ++++ 66 files changed, 285 insertions(+) create mode 100644 LICENSES/MIT.txt create mode 100644 vendor/pydantic-argparse/docs/CNAME.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/logo.svg.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_01.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_02.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_03.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_04.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_05.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/images/showcase_06.png.license create mode 100644 vendor/pydantic-argparse/docs/assets/stylesheets/reference.css.license create mode 100644 vendor/pydantic-argparse/docs/reference/reference.py.license diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 000000000..2071b23b0 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +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 OR COPYRIGHT HOLDERS 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. diff --git a/vendor/pydantic-argparse/.github/workflows/linting.yml b/vendor/pydantic-argparse/.github/workflows/linting.yml index 2f94571fe..7db013354 100644 --- a/vendor/pydantic-argparse/.github/workflows/linting.yml +++ b/vendor/pydantic-argparse/.github/workflows/linting.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + name: Linting on: diff --git a/vendor/pydantic-argparse/.github/workflows/tests.yml b/vendor/pydantic-argparse/.github/workflows/tests.yml index 3b5a46074..a37dc54f8 100644 --- a/vendor/pydantic-argparse/.github/workflows/tests.yml +++ b/vendor/pydantic-argparse/.github/workflows/tests.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + name: Tests on: diff --git a/vendor/pydantic-argparse/.github/workflows/typing.yml b/vendor/pydantic-argparse/.github/workflows/typing.yml index c1bb4fdba..b162588a0 100644 --- a/vendor/pydantic-argparse/.github/workflows/typing.yml +++ b/vendor/pydantic-argparse/.github/workflows/typing.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + name: Typing on: diff --git a/vendor/pydantic-argparse/.gitignore b/vendor/pydantic-argparse/.gitignore index 9b1e530b8..b18107864 100644 --- a/vendor/pydantic-argparse/.gitignore +++ b/vendor/pydantic-argparse/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + # IDE settings / virtual environment .venv/ .vscode/ diff --git a/vendor/pydantic-argparse/README.md b/vendor/pydantic-argparse/README.md index 7e8c70414..97afe7a91 100644 --- a/vendor/pydantic-argparse/README.md +++ b/vendor/pydantic-argparse/README.md @@ -1,3 +1,9 @@ + +
diff --git a/vendor/pydantic-argparse/docs/CNAME.license b/vendor/pydantic-argparse/docs/CNAME.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/CNAME.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/logo.svg.license b/vendor/pydantic-argparse/docs/assets/images/logo.svg.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/logo.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_01.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_01.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_01.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_02.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_02.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_02.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_03.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_03.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_03.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_04.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_04.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_04.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_05.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_05.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_05.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/images/showcase_06.png.license b/vendor/pydantic-argparse/docs/assets/images/showcase_06.png.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/images/showcase_06.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/assets/stylesheets/reference.css.license b/vendor/pydantic-argparse/docs/assets/stylesheets/reference.css.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/assets/stylesheets/reference.css.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/background.md b/vendor/pydantic-argparse/docs/background.md index 107d66f78..92a13391a 100644 --- a/vendor/pydantic-argparse/docs/background.md +++ b/vendor/pydantic-argparse/docs/background.md @@ -1,3 +1,9 @@ + + ## Overview Before delving into the documentation, examples and code reference, it is first necessary to explore and understand why you may want to use this package. diff --git a/vendor/pydantic-argparse/docs/examples/commands.md b/vendor/pydantic-argparse/docs/examples/commands.md index 6ffd16c82..870b0abb9 100644 --- a/vendor/pydantic-argparse/docs/examples/commands.md +++ b/vendor/pydantic-argparse/docs/examples/commands.md @@ -1,3 +1,9 @@ + + ### Define Model ```python title="commands.py" --8<-- "examples/commands.py" diff --git a/vendor/pydantic-argparse/docs/examples/simple.md b/vendor/pydantic-argparse/docs/examples/simple.md index 4811d84c0..a1b5dd3c3 100644 --- a/vendor/pydantic-argparse/docs/examples/simple.md +++ b/vendor/pydantic-argparse/docs/examples/simple.md @@ -1,3 +1,9 @@ + + ### Define Model ```python title="simple.py" --8<-- "examples/simple.py" diff --git a/vendor/pydantic-argparse/docs/index.md b/vendor/pydantic-argparse/docs/index.md index ade90f408..7aa253ef1 100644 --- a/vendor/pydantic-argparse/docs/index.md +++ b/vendor/pydantic-argparse/docs/index.md @@ -1,3 +1,9 @@ + +
diff --git a/vendor/pydantic-argparse/docs/reference/reference.py.license b/vendor/pydantic-argparse/docs/reference/reference.py.license new file mode 100644 index 000000000..25fd365b4 --- /dev/null +++ b/vendor/pydantic-argparse/docs/reference/reference.py.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Hayden Richards + +SPDX-License-Identifier: MIT diff --git a/vendor/pydantic-argparse/docs/showcase.md b/vendor/pydantic-argparse/docs/showcase.md index 86b4cc325..1b594264a 100644 --- a/vendor/pydantic-argparse/docs/showcase.md +++ b/vendor/pydantic-argparse/docs/showcase.md @@ -1,3 +1,9 @@ + + ## Feature Showcase This showcase demonstrates how `pydantic-argparse` can be useful, by highlighting some of its features and showing how they can be utilised. diff --git a/vendor/pydantic-argparse/docs/usage/argument_parser.md b/vendor/pydantic-argparse/docs/usage/argument_parser.md index 9db93ed3e..3c0eff17f 100644 --- a/vendor/pydantic-argparse/docs/usage/argument_parser.md +++ b/vendor/pydantic-argparse/docs/usage/argument_parser.md @@ -1,3 +1,9 @@ + + ## Overview The interface for `pydantic-argparse` is the custom typed [`ArgumentParser`][pydantic_argparse.argparse.parser.ArgumentParser] class, diff --git a/vendor/pydantic-argparse/docs/usage/arguments/choices.md b/vendor/pydantic-argparse/docs/usage/arguments/choices.md index 9bb611ad6..4699874fc 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/choices.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/choices.md @@ -1,3 +1,9 @@ + + ## Overview `pydantic-argparse` provides functionality for choice arguments. A choice is a command-line argument that allows a restricted set of values. For example: diff --git a/vendor/pydantic-argparse/docs/usage/arguments/commands.md b/vendor/pydantic-argparse/docs/usage/arguments/commands.md index 0a6f6dab0..2d6a78340 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/commands.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/commands.md @@ -1,3 +1,9 @@ + + ## Overview `pydantic-argparse` provides functionality for commands. A command is a positional command-line argument that can be followed by its own specific diff --git a/vendor/pydantic-argparse/docs/usage/arguments/flags.md b/vendor/pydantic-argparse/docs/usage/arguments/flags.md index 6040774b2..5904c1337 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/flags.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/flags.md @@ -1,3 +1,9 @@ + + ## Overview `pydantic-argparse` provides functionality for flag arguments. A flag is a command-line argument that has no following value. For example: `--flag` or diff --git a/vendor/pydantic-argparse/docs/usage/arguments/index.md b/vendor/pydantic-argparse/docs/usage/arguments/index.md index 904c3199e..22829a963 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/index.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/index.md @@ -1,3 +1,9 @@ + + ## Overview At the core of `pydantic-argparse` is the `pydantic` *model*, in which arguments are declared with `pydantic` *fields*. This combination of the diff --git a/vendor/pydantic-argparse/docs/usage/arguments/regular.md b/vendor/pydantic-argparse/docs/usage/arguments/regular.md index 3bc5c4e5c..f8b68cd47 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/regular.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/regular.md @@ -1,3 +1,9 @@ + + ## Overview `pydantic-argparse` provides functionality for regular arguments. A regular argument is a command-line argument that is followed by *exactly* one value. diff --git a/vendor/pydantic-argparse/docs/usage/arguments/variadic.md b/vendor/pydantic-argparse/docs/usage/arguments/variadic.md index 7e74605e1..d75dec73d 100644 --- a/vendor/pydantic-argparse/docs/usage/arguments/variadic.md +++ b/vendor/pydantic-argparse/docs/usage/arguments/variadic.md @@ -1,3 +1,9 @@ + + ## Overview `pydantic-argparse` provides functionality for variadic arguments. A variadic argument is a command-line argument that is followed by one *or more* values. diff --git a/vendor/pydantic-argparse/examples/commands.py b/vendor/pydantic-argparse/examples/commands.py index 075a3835a..22d38ccfe 100644 --- a/vendor/pydantic-argparse/examples/commands.py +++ b/vendor/pydantic-argparse/examples/commands.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Commands Example.""" diff --git a/vendor/pydantic-argparse/examples/simple.py b/vendor/pydantic-argparse/examples/simple.py index cadf01563..7bc2caa6b 100644 --- a/vendor/pydantic-argparse/examples/simple.py +++ b/vendor/pydantic-argparse/examples/simple.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Simple Example.""" diff --git a/vendor/pydantic-argparse/mkdocs.yml b/vendor/pydantic-argparse/mkdocs.yml index 0a7bcb5a2..ab4626872 100644 --- a/vendor/pydantic-argparse/mkdocs.yml +++ b/vendor/pydantic-argparse/mkdocs.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + # Site site_name: Pydantic Argparse site_description: Typed Argument Parsing with Pydantic diff --git a/vendor/pydantic-argparse/pydantic_argparse/__init__.py b/vendor/pydantic-argparse/pydantic_argparse/__init__.py index 4612e66c3..1bfe452c9 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/__init__.py +++ b/vendor/pydantic-argparse/pydantic_argparse/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Declarative Typed Argument Parsing with Pydantic Models. This is the `pydantic-argparse` package, which contains the classes, methods diff --git a/vendor/pydantic-argparse/pydantic_argparse/__metadata__.py b/vendor/pydantic-argparse/pydantic_argparse/__metadata__.py index ff9e598eb..92de0d07a 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/__metadata__.py +++ b/vendor/pydantic-argparse/pydantic_argparse/__metadata__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Single-Source of Truth Package Versioning and Metadata. The `pydantic-argparse` package uses the `pyproject.toml` file as a diff --git a/vendor/pydantic-argparse/pydantic_argparse/argparse/__init__.py b/vendor/pydantic-argparse/pydantic_argparse/argparse/__init__.py index e69f7f384..db9230f9b 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/argparse/__init__.py +++ b/vendor/pydantic-argparse/pydantic_argparse/argparse/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Declarative and Typed Argument Parsing. This package contains the classes and methods required for declarative and diff --git a/vendor/pydantic-argparse/pydantic_argparse/argparse/actions.py b/vendor/pydantic-argparse/pydantic_argparse/argparse/actions.py index 91ec9f570..7eb3a5c96 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/argparse/actions.py +++ b/vendor/pydantic-argparse/pydantic_argparse/argparse/actions.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Recursively Nesting Sub-Parsers Action for Typed Argument Parsing. The `actions` module contains the `SubParsersAction` class, which is an action diff --git a/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py b/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py index ec0c457fe..aa1dc53da 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py +++ b/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Declarative and Typed Argument Parser. The `parser` module contains the `ArgumentParser` class, which provides a diff --git a/vendor/pydantic-argparse/pydantic_argparse/argparse/patches.py b/vendor/pydantic-argparse/pydantic_argparse/argparse/patches.py index 0424bb1ad..34f35a73a 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/argparse/patches.py +++ b/vendor/pydantic-argparse/pydantic_argparse/argparse/patches.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Monkey patches for ArgumentParser. In order to support Python 3.7 and 3.8 while retaining the unit tests, we need diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/__init__.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/__init__.py index 263609ed1..ef0ec8aed 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/__init__.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Pydantic Fields to Command-Line Arguments. This package contains the functions required for parsing `pydantic` model diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/boolean.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/boolean.py index 04c8db457..3336b0a56 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/boolean.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/boolean.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Boolean Pydantic Fields to Command-Line Arguments. The `boolean` module contains the `should_parse` function, which checks whether diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/command.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/command.py index 076f1bdf9..7dd716499 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/command.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/command.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Nested Pydantic Model Fields to Sub-Commands. The `command` module contains the `should_parse` function, which checks whether diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/container.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/container.py index 163796476..0150d7509 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/container.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/container.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Container Pydantic Fields to Command-Line Arguments. The `container` module contains the `should_parse` function, which checks diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/enum.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/enum.py index 090a48ac6..5a7fc031f 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/enum.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/enum.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Enum Pydantic Fields to Command-Line Arguments. The `enum` module contains the `should_parse` function, which checks whether diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/literal.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/literal.py index 2910f167a..18f485db4 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/literal.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/literal.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Literal Pydantic Fields to Command-Line Arguments. The `literal` module contains the `should_parse` function, which checks whether diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/mapping.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/mapping.py index 513bf85aa..11326814d 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/mapping.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/mapping.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Mapping Pydantic Fields to Command-Line Arguments. The `mapping` module contains the `should_parse` function, which checks whether diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/standard.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/standard.py index 07215c887..386e7529e 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/standard.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/standard.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Parses Standard Pydantic Fields to Command-Line Arguments. The `standard` module contains the `parse_field` function, which parses diff --git a/vendor/pydantic-argparse/pydantic_argparse/parsers/utils.py b/vendor/pydantic-argparse/pydantic_argparse/parsers/utils.py index e4e8ec557..e0ad2f6af 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/parsers/utils.py +++ b/vendor/pydantic-argparse/pydantic_argparse/parsers/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Argument parser utilities.""" from argparse import Action, FileType diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/__init__.py b/vendor/pydantic-argparse/pydantic_argparse/utils/__init__.py index df91e22cc..b504d88c5 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/__init__.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Utilities for Declarative Typed Argument Parsing. This package contains helper utility functions for the typed argument parsing diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/errors.py b/vendor/pydantic-argparse/pydantic_argparse/utils/errors.py index 71c4a1c02..f02f6fe5f 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/errors.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/errors.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Errors Utility Functions for Declarative Typed Argument Parsing. The `errors` module contains a utility function used for formatting `pydantic` diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/namespaces.py b/vendor/pydantic-argparse/pydantic_argparse/utils/namespaces.py index f1fa34dfa..923eae565 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/namespaces.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/namespaces.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Namespaces Utility Functions for Declarative Typed Argument Parsing. The `namespaces` module contains a utility function used for recursively diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py b/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py index 954cf5f13..6b18ea923 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Utilities to help with parsing arbitrarily nested `pydantic` models.""" from argparse import Namespace diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py index 41d3d30bd..6194b76b3 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Pydantic Utility Functions for Declarative Typed Argument Parsing. The `pydantic` module contains utility functions used for interacting with the diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/types.py b/vendor/pydantic-argparse/pydantic_argparse/utils/types.py index 6688c031b..3a10bc697 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/types.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/types.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Types Utility Functions for Declarative Typed Argument Parsing. The `types` module contains a utility function used for determining and diff --git a/vendor/pydantic-argparse/pyproject.toml b/vendor/pydantic-argparse/pyproject.toml index 7c3032345..5db03e1c3 100644 --- a/vendor/pydantic-argparse/pyproject.toml +++ b/vendor/pydantic-argparse/pyproject.toml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + [tool.poetry] name = "pydantic-argparse" version = "1.0.0" diff --git a/vendor/pydantic-argparse/tests/__init__.py b/vendor/pydantic-argparse/tests/__init__.py index 8226739c6..2388f1a62 100644 --- a/vendor/pydantic-argparse/tests/__init__.py +++ b/vendor/pydantic-argparse/tests/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Unit Tests for the `pydantic-argparse` Package. This file is required to mark the unit tests as a package, so they can resolve diff --git a/vendor/pydantic-argparse/tests/argparse/__init__.py b/vendor/pydantic-argparse/tests/argparse/__init__.py index 40574a8f5..3e2eb26e9 100644 --- a/vendor/pydantic-argparse/tests/argparse/__init__.py +++ b/vendor/pydantic-argparse/tests/argparse/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Unit Tests for the `argparse` Package. This file is required to mark the unit tests as a package, so they can resolve diff --git a/vendor/pydantic-argparse/tests/argparse/test_actions.py b/vendor/pydantic-argparse/tests/argparse/test_actions.py index 68ed17249..2dfb861bb 100644 --- a/vendor/pydantic-argparse/tests/argparse/test_actions.py +++ b/vendor/pydantic-argparse/tests/argparse/test_actions.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `actions` Module. This module provides full unit test coverage for the `actions` module, testing diff --git a/vendor/pydantic-argparse/tests/argparse/test_parser.py b/vendor/pydantic-argparse/tests/argparse/test_parser.py index 5df328474..384e5d659 100644 --- a/vendor/pydantic-argparse/tests/argparse/test_parser.py +++ b/vendor/pydantic-argparse/tests/argparse/test_parser.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `parser` Module. This module provides full unit test coverage for the `parser` module, testing diff --git a/vendor/pydantic-argparse/tests/conftest.py b/vendor/pydantic-argparse/tests/conftest.py index c93b41b25..6d6047eac 100644 --- a/vendor/pydantic-argparse/tests/conftest.py +++ b/vendor/pydantic-argparse/tests/conftest.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Configures Testing and Defines Pytest Fixtures. The `conftest.py` file serves as a means of providing fixtures for an entire diff --git a/vendor/pydantic-argparse/tests/functional/__init__.py b/vendor/pydantic-argparse/tests/functional/__init__.py index c7bffc45a..1ec8b07e0 100644 --- a/vendor/pydantic-argparse/tests/functional/__init__.py +++ b/vendor/pydantic-argparse/tests/functional/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Functional Tests for the `pydantic-argparse` Package. This file is required to mark the unit tests as a package, so they can resolve diff --git a/vendor/pydantic-argparse/tests/functional/test_environment_variables.py b/vendor/pydantic-argparse/tests/functional/test_environment_variables.py index 52f828469..100e7e8b3 100644 --- a/vendor/pydantic-argparse/tests/functional/test_environment_variables.py +++ b/vendor/pydantic-argparse/tests/functional/test_environment_variables.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `pydantic-argparse` Environment Variables Functionality. This module provides functional regression tests for the `pydantic-argparse` diff --git a/vendor/pydantic-argparse/tests/parsers/__init__.py b/vendor/pydantic-argparse/tests/parsers/__init__.py index b7c8549c6..3d25ea943 100644 --- a/vendor/pydantic-argparse/tests/parsers/__init__.py +++ b/vendor/pydantic-argparse/tests/parsers/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Unit Tests for the `parsers` Package. This file is required to mark the unit tests as a package, so they can resolve diff --git a/vendor/pydantic-argparse/tests/utils/__init__.py b/vendor/pydantic-argparse/tests/utils/__init__.py index 4646b8918..933098852 100644 --- a/vendor/pydantic-argparse/tests/utils/__init__.py +++ b/vendor/pydantic-argparse/tests/utils/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Unit Tests for the `utils` Package. This file is required to mark the unit tests as a package, so they can resolve diff --git a/vendor/pydantic-argparse/tests/utils/test_arguments.py b/vendor/pydantic-argparse/tests/utils/test_arguments.py index 15bcbbf14..260defd08 100644 --- a/vendor/pydantic-argparse/tests/utils/test_arguments.py +++ b/vendor/pydantic-argparse/tests/utils/test_arguments.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `arguments` Module. This module provides full unit test coverage for the `arguments` module, diff --git a/vendor/pydantic-argparse/tests/utils/test_errors.py b/vendor/pydantic-argparse/tests/utils/test_errors.py index f96f0a844..e11ad8db7 100644 --- a/vendor/pydantic-argparse/tests/utils/test_errors.py +++ b/vendor/pydantic-argparse/tests/utils/test_errors.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `errors` Module. This module provides full unit test coverage for the `errors` module, testing diff --git a/vendor/pydantic-argparse/tests/utils/test_namespaces.py b/vendor/pydantic-argparse/tests/utils/test_namespaces.py index b81063298..057dba930 100644 --- a/vendor/pydantic-argparse/tests/utils/test_namespaces.py +++ b/vendor/pydantic-argparse/tests/utils/test_namespaces.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `namespaces` Module. This module provides full unit test coverage for the `namespaces` module, diff --git a/vendor/pydantic-argparse/tests/utils/test_types.py b/vendor/pydantic-argparse/tests/utils/test_types.py index 03a7bc425..1b0ab711a 100644 --- a/vendor/pydantic-argparse/tests/utils/test_types.py +++ b/vendor/pydantic-argparse/tests/utils/test_types.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: Hayden Richards +# +# SPDX-License-Identifier: MIT + """Tests the `types` Module. This module provides full unit test coverage for the `types` module, testing