Skip to content

Improve copyright header consistency - #614

Draft
JAB1305 wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:improve/consistent-copyright-headers
Draft

Improve copyright header consistency#614
JAB1305 wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:improve/consistent-copyright-headers

Conversation

@JAB1305

@JAB1305 JAB1305 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Previously many code files did not carry the copyright header. (see #584)

To resolve this issue first the ruff linter was configured to also include CPY001 to confirm the presence of the copyright header. The /ect/scripts/set_copyright_year.sh remains to check the year being correct. __init__.py are ignored using rule specific ignores in ruff.

Also all files flagged by ruff now carry a copyright header (with the year of the last change according to git history).

Fixes #584

CPY001 allows to check for the presence of a copyright headers. per-file-ignores allows to list folders or file types to be excluded.
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.

1 participant