Skip to content

Conversation

@psss
Copy link
Contributor

@psss psss commented Mar 7, 2025

Mass update done using the following command:

sed -i 's|^\([ ]*\)""" \(.*\) """$|\1"""\n\1\2\n\1"""|' $(ag -l '""".*"""')

Plus a bunch of manual adjustments where empty line was missing or the regular expression did not precisely match.

@psss psss added this to the 1.8 milestone Mar 7, 2025
@psss psss added the style label Mar 7, 2025
Copy link
Contributor

@martinhoyer martinhoyer left a comment

Choose a reason for hiding this comment

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

sed -i 's|^\([ ]*\)""" \(.*\) """$|\1"""\n\1\2\n\1"""|' $(ag -l '""".*"""')

Nice. Reminds me of output when decoding to text using a wrong character encoding standard :D

Mass update done using the following command:

    sed -i 's|^\([ ]*\)""" \(.*\) """$|\1"""\n\1\2\n\1"""|' $(ag -l '""".*"""')

Plus a bunch of manual adjustments where empty line was missing or
the regular expression did not precisely match.
@lukaszachy lukaszachy enabled auto-merge (rebase) March 10, 2025 08:15
@lukaszachy lukaszachy merged commit 39af408 into main Mar 10, 2025
13 of 15 checks passed
@lukaszachy lukaszachy deleted the docstrings-cleanup branch March 10, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants