Skip to content

CLN use new license notice line #29246

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

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

adrinjalali
Copy link
Member

Towards #20813

This changes the license notice line to what we agreed, I can either add the change for authors in the same PR, or a separate PR.

cc @scikit-learn/core-devs

Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: cc66a60. Link to the linter CI: here

@jeremiedbb
Copy link
Member

I think that if we want to do this we need automated tools otherwise it will quickly become inconsistent. Such tools already exists as explained in #20813 (comment). Imo we should really consider setting up a linter and a pre-commit hook.

@adrinjalali
Copy link
Member Author

@jeremiedbb yes, we use that in fairlearn as well. ruff/flake have these linter plugins and easy to configure. Happy to do that in a separate PR as well.

@glemaitre
Copy link
Member

glemaitre commented Jun 13, 2024

A small question because I could not find quickly in the original discussion: did we discuss the option to centralize everything in the LICENSE file similarly to what scikit-image is doing: https://github.com/scikit-image/scikit-image/blob/main/LICENSE.txt

I'm just wondering what make it easier in terms of maintenance and being up to date in that regards.

@jeremiedbb
Copy link
Member

jeremiedbb commented Jun 13, 2024

To me the advantage of having it in every file is to make it easy for third party libs to vendor/reuse parts of scikit-learn because they just have to take the file.

@glemaitre
Copy link
Member

To me the advantage of having it in every file is to make it easy for third party libs to vendor/reuse parts of scikit-learn because they just have to take the file.

Good point.

@adrinjalali
Copy link
Member Author

So should we merge this? This should be the least controversial one I think.

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as a first PR of a set to fix it.

@jeremiedbb jeremiedbb merged commit 55ca335 into scikit-learn:main Jun 13, 2024
36 of 37 checks passed
@adrinjalali adrinjalali deleted the authors branch June 13, 2024 14:30
@jeremiedbb jeremiedbb mentioned this pull request Jul 2, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants