Skip to content

DOC correct order of @deprecated and @property in documentation and linter#28438

Merged
jeremiedbb merged 1 commit intoscikit-learn:mainfrom
StefanieSenger:deprecated_decorator
Feb 20, 2024
Merged

DOC correct order of @deprecated and @property in documentation and linter#28438
jeremiedbb merged 1 commit intoscikit-learn:mainfrom
StefanieSenger:deprecated_decorator

Conversation

@StefanieSenger
Copy link
Copy Markdown
Member

When deprecating a property, the @deprecated needs to be placed before the @property and encompass it.

We check this correctly, but we did not communicate it correctly in the documentation and in the linter.

@github-actions
Copy link
Copy Markdown

✔️ Linting Passed

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

Generated for commit: 868f8d0. Link to the linter CI: here

@StefanieSenger StefanieSenger changed the title FIX correct order of @deprecated and @property in documentation and linter DOC correct order of @deprecated and @property in documentation and linter Feb 16, 2024
Copy link
Copy Markdown
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. Thanks @StefanieSenger

Copy link
Copy Markdown
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

Thanks

@jeremiedbb jeremiedbb merged commit 19f4149 into scikit-learn:main Feb 20, 2024
@StefanieSenger StefanieSenger deleted the deprecated_decorator branch February 20, 2024 15:35
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