Skip to content

Commit

Permalink
docs: Update copyright text in source files
Browse files Browse the repository at this point in the history
Per guidance from Sandia Technology Transfer, the recommended text from
the Linux Foundation is insufficient for our purposes.
jmgate committed Feb 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c865170 commit 4cba3d0
Showing 12 changed files with 48 additions and 12 deletions.
5 changes: 4 additions & 1 deletion example/basic.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
Basic ``reverse_argparse`` functionality.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
from argparse import ArgumentParser
5 changes: 4 additions & 1 deletion example/default_values.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
How ``reverse_argparse`` handles default values.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
from argparse import ArgumentParser
5 changes: 4 additions & 1 deletion example/post_processing.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
How ``reverse_argparse`` handles post-processing of arguments.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import os
5 changes: 4 additions & 1 deletion example/pretty_printing.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
``reverse_argparse`` pretty-printing functionality.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import os
5 changes: 4 additions & 1 deletion example/relative_references.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
How ``reverse_argparse`` handles relative references.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import os
5 changes: 4 additions & 1 deletion example/subparsers.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
How ``reverse_argparse`` handles subparsers.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import os
5 changes: 4 additions & 1 deletion example/test_examples.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
Run all the examples and ensure their output is correct.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import re
5 changes: 4 additions & 1 deletion reverse_argparse/__init__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,10 @@
Provide the :class:`ReverseArgumentParser` class and
:func:`quote_arg_if_necessary` helper function.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""

5 changes: 4 additions & 1 deletion reverse_argparse/reverse_argparse.py
Original file line number Diff line number Diff line change
@@ -7,7 +7,10 @@
:func:`quote_arg_if_necessary` helper function to surround any arguments
with spaces in them with quotes.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""

5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,10 @@
To install, simply ``python3 -m pip install .`` in the repository root.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
import setuptools
5 changes: 4 additions & 1 deletion test/__init__.py
Original file line number Diff line number Diff line change
@@ -5,6 +5,9 @@
can relative-import from modules in the sibling ``reverse_argparse``
directory.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""
5 changes: 4 additions & 1 deletion test/test_reverse_argparse.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,10 @@
"""
The unit test suite for the ``reverse_argparse`` package.
Copyright The reverse-argparse Authors.
© 2024 National Technology & Engineering Solutions of Sandia, LLC
(NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
Government retains certain rights in this software.
SPDX-License-Identifier: BSD-3-Clause
"""

0 comments on commit 4cba3d0

Please sign in to comment.