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

chore: reformat multi-line statements #234

Merged

Conversation

mwtoews
Copy link
Contributor

@mwtoews mwtoews commented Nov 26, 2024

This PR refactors some multi-line statements. This was mostly automated by temporarily toggling skip-magic-trailing-comma = true in ruff.toml, then selecting some commits that condense multi-line statements to single, while rejecting other statements that are better represented over multiple lines. There was no exact rule-of-thumb for the process, except to try and maintain the same style in surrounding code blocks.

Note that while there are fewer lines with this PR, there are no functional changes.

@wpbonelli wpbonelli merged commit 333da66 into MODFLOW-USGS:develop Nov 26, 2024
9 checks passed
@mwtoews mwtoews deleted the reformat-multi-line-statements branch November 26, 2024 02:35
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

Successfully merging this pull request may close these issues.

2 participants