Skip to content

Add SPDX copyright headers, REUSE configuration, and CI compliance checks - #601

Open
M-Colley wants to merge 1 commit into
PedestrianDynamics:mainfrom
M-Colley:chore/add-spdx-copyright-headers
Open

M-Colley wants to merge 1 commit into
PedestrianDynamics:mainfrom
M-Colley:chore/add-spdx-copyright-headers

Conversation

@M-Colley

Copy link
Copy Markdown

Summary

Fixes #450

Makes the repository 100% compliant with REUSE Specification v3.3 (327 / 327 tracked files covered):

  • Inline SPDX headers: Adds SPDX-FileCopyrightText and SPDX-License-Identifier: MIT headers across Python sources, tests, helper scripts, shell scripts, CI workflows, CSS, and project configuration files.
  • Non-commentable & fixture files (REUSE.toml + LICENSES/MIT.txt): Declares SPDX metadata for documentation assets, notebooks, figures, and parser test-data fixtures via REUSE.toml (precedence = closest) without altering trajectory/JSON/CSV test fixtures.
  • CI & pre-commit checks: Adds sfe/reuse-tool (�6.2.0) to .pre-commit-config.yaml and a dedicated spdx-check job ( sfe/reuse-action@v6) in .github/workflows/ci.yml.
  • Year-update helper: Adds scripts/update_spdx_year.py to automatically refresh SPDX-FileCopyrightText end-years on modified files.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SPDX copyright notice to all files

1 participant