Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📄 add license headers #770

Merged
merged 6 commits into from
Dec 2, 2024
Merged

📄 add license headers #770

merged 6 commits into from
Dec 2, 2024

Conversation

burgholzer
Copy link
Member

Description

This PR adds license headers to all relevant files in the repository.
To reduce the maintenance burden, a pre-commit check is set up that automatically checks for the presence of respective headers and adds them if missing.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
@burgholzer burgholzer self-assigned this Dec 2, 2024
@burgholzer burgholzer added documentation Improvements or additions to documentation Core Anything related to the Core library and IR labels Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-tidy (v18.1.8) reports: 1 concern(s)
  • include/mqt-core/python/pybind11.hpp:14:10: error: [clang-diagnostic-error]

    'pybind11/pybind11.h' file not found

       14 | #include <pybind11/pybind11.h> // IWYU pragma: export
          |          ^~~~~~~~~~~~~~~~~~~~~

Have any feedback or feature suggestions? Share it here.

Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
@burgholzer
Copy link
Member Author

burgholzer commented Dec 2, 2024

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-tidy (v18.1.8) reports: 1 concern(s)

  • include/mqt-core/python/pybind11.hpp:14:10: error: [clang-diagnostic-error]

    'pybind11/pybind11.h' file not found

       14 | #include <pybind11/pybind11.h> // IWYU pragma: export
          |          ^~~~~~~~~~~~~~~~~~~~~

Have any feedback or feature suggestions? Share it here.

Ignoring this warning as it is unfixable at the moment since pybind11 is not installed in the cpp-linter environment.

@burgholzer burgholzer merged commit c606fc0 into main Dec 2, 2024
26 of 28 checks passed
@burgholzer burgholzer deleted the license-headers branch December 2, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Anything related to the Core library and IR documentation Improvements or additions to documentation
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant