Return the two-line SPDX header for a given comment prefix.
(comment: str)
| 77 | |
| 78 | |
| 79 | def make_header(comment: str) -> str: |
| 80 | """Return the two-line SPDX header for a given comment prefix.""" |
| 81 | return ( |
| 82 | f"{comment} SPDX-FileCopyrightText: {COPYRIGHT_TEXT}\n" |
| 83 | f"{comment} SPDX-License-Identifier: {LICENSE_ID}\n" |
| 84 | ) |
| 85 | |
| 86 | |
| 87 | # --------------------------------------------------------------------------- |