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

DOC: clarify guidance on style modifications #19222

Merged
merged 1 commit into from Sep 11, 2023

Conversation

lucascolley
Copy link
Member

Reference issue

N/A

What does this implement/fix?

Changes "It is recommended to leave existing style issues alone unless they exist in files you are already modifying" to "It is recommended to leave existing style issues alone unless they exist in lines of code you are already modifying".

The clarification from files to lines of code should help to reduce the number of unwanted style modifications in PRs containing functional change (in other parts of the files).

Additional information

This tripped me up recently. After reading it, I assumed that any style corrections were welcome as long as they are in the files you are already modifying, but it now makes sense to me that maintainers do not want to have random style modifications mixed in to diffs.

From Ralf: "Yes, that better communicates it."

Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

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

Thanks @lucascolley, I think this is indeed a better wording

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks Lucas, LGTM too.

@rgommers rgommers added the Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org label Sep 11, 2023
@mdhaber mdhaber merged commit 4ec8049 into scipy:main Sep 11, 2023
@j-bowhay j-bowhay added this to the 1.12.0 milestone Sep 11, 2023
@lucascolley lucascolley deleted the dev-docs-pep branch September 11, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants