Skip to content

Commit 02c0ab5

Browse files
author
MomIsBestFriend
committed
Fixed CI issues
1 parent cc2d613 commit 02c0ab5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc/source/development/contributing_code_guide.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,26 @@ For example:
5555

5656
.. code-block:: python
5757
58+
foo = "old_function"
59+
bar = "new_function"
60+
5861
my_warning_message = (
59-
f"Warning, {old_function_name} is deprecated, "
62+
f"Warning, {foo} is deprecated, "
6063
"please use the new and way better "
61-
f"{new_function_name}"
64+
f"{bar}"
6265
)
6366
6467
**Bad:**
6568

6669
.. code-block:: python
6770
71+
foo = "old_function"
72+
bar = "new_function"
73+
6874
my_warning_message = (
69-
f"Warning, {old_function_name} is deprecated, "
75+
f"Warning, {foo} is deprecated, "
7076
f"please use the new and way better "
71-
f"{new_function_name}"
77+
f"{bar}"
7278
)
7379
7480
White spaces

0 commit comments

Comments
 (0)