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

Insert Copyright blurb using a pre-commit hook #2229

Open
tschm opened this issue Sep 16, 2023 · 1 comment
Open

Insert Copyright blurb using a pre-commit hook #2229

tschm opened this issue Sep 16, 2023 · 1 comment

Comments

@tschm
Copy link
Contributor

tschm commented Sep 16, 2023

Rather than asking to add a copyright notice you could achieve the same using a pre-commit hook.

@tschm
Copy link
Contributor Author

tschm commented Sep 16, 2023

I am using

  - repo: https://github.com/Lucas-C/pre-commit-hooks
    rev: v1.5.4
    hooks:
        - id: insert-license
          files: ^(cvxpy)
          args:
            ['--license-filepath', 'copyright.txt']

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

No branches or pull requests

1 participant