Repository navigation
Add SPDX license headers to all *.py and *.lark source files - #28
Conversation
… with source headers
|
@copilot adjust the title and description of the pullrequest according to the actual chanegs |
I'm unable to directly edit the PR title/description from this environment. Please update manually with the following: Title: Description: Lark ( Files changed
No logic changes. All existing tests pass. Closes #26 |
There was a problem hiding this comment.
Pull request overview
Adds per-file SPDX license headers across the project’s Python and Lark sources to standardize licensing metadata and improve SPDX compliance.
Changes:
- Added per-file MIT SPDX headers to all tracked
*.pyand*.larksource files. - Updated the
LICENSEcopyright lines.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
tests/test_syntax.py |
Adds SPDX/license header block at file top. |
tests/__init__.py |
Adds SPDX/license header block at file top. |
src/rfc3987_syntax2/utils.py |
Adds SPDX/license header block at file top. |
src/rfc3987_syntax2/syntax_helpers.py |
Adds SPDX/license header block at file top. |
src/rfc3987_syntax2/__init__.py |
Adds SPDX/license header block at file top. |
src/rfc3987_syntax2/syntax_rfc3987.lark |
Adds SPDX/license header block at file top (Lark comment syntax). |
LICENSE |
Adjusts the copyright attribution lines. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Copyright (c) 2025 Will Riley - original author | ||
| Copyright (c) 2026 Jan Kowalleck - modifications and maintenance |
| # Copyright (c) 2025 Will Riley - original author | ||
| # Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| # SPDX-License-Identifier: MIT | ||
|
|
| # Copyright (c) 2025 Will Riley - original author | ||
| # Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| # SPDX-License-Identifier: MIT | ||
|
|
| # Copyright (c) 2025 Will Riley - original author | ||
| # Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| # SPDX-License-Identifier: MIT | ||
|
|
| # Copyright (c) 2025 Will Riley - original author | ||
| # Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| # SPDX-License-Identifier: MIT | ||
|
|
| # Copyright (c) 2025 Will Riley - original author | ||
| # Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| # SPDX-License-Identifier: MIT | ||
|
|
| // Copyright (c) 2025 Will Riley - original author | ||
| // Copyright (c) 2026 Jan Kowalleck - modifications and maintenance | ||
| // SPDX-License-Identifier: MIT | ||
|
|
Adds standardized per-file license headers to every tracked
*.pyand*.larksource file, establishing clear copyright attribution and SPDX compliance across the codebase.Header format
Python (
# ...):Lark (
// ...) — same content,//comment syntax.Files changed
src/rfc3987_syntax2/__init__.pysrc/rfc3987_syntax2/syntax_helpers.pysrc/rfc3987_syntax2/utils.pysrc/rfc3987_syntax2/syntax_rfc3987.larktests/__init__.pytests/test_syntax.pyCopyright lines match the
LICENSEfile verbatim. No logic changes.