We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42dca2 commit a4b497bCopy full SHA for a4b497b
doc-source/hooks.rst
@@ -63,6 +63,17 @@ Squash type stubs by removing unnecessary blank lines.
63
64
This hook takes no arguments.
65
66
+.. _newline_after_equals:
67
+
68
+``newline_after_equals``
69
+------------------------
70
71
+Remove newlines (and any following whitespace) after equals signs..
72
73
+This hook takes no arguments.
74
75
+.. versionadded:: 1.1.0
76
77
78
.. _ellipsis_reformat:
79
formate/mini_hooks.py
@@ -254,7 +254,7 @@ def newline_after_equals(source: str) -> str:
254
"""
255
Removes newlines immediately after equals signs.
256
257
- .. versionadded:: 1.2.0
+ .. versionadded:: 1.1.0
258
259
:param source: The source to check.
260
0 commit comments