Skip to content

Commit 80a9443

Browse files
committed
content/productivity: Small typo fixes.
1 parent 81d8d3c commit 80a9443

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

content/productivity.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Exercise 1
199199
200200
.. code-block:: python
201201
202-
"""https://docs.astral.sh/ruff/
202+
"""
203203
pylint exercise 1
204204
"""
205205
import numpy as np
@@ -247,7 +247,6 @@ Exercise 1
247247
248248
plt.show()
249249
250-
251250
Enforcing consistent code style
252251
-------------------------------
253252
@@ -257,12 +256,12 @@ all kinds of coding styles.
257256
For example, one could use the following naming styles for variables:
258257
259258
.. code-block:: python
260-
# Different variable styles
261259
260+
# Different variable styles
262261
myvariable = 1 # Lowercase
263-
myVariable = 1 # CamelCase
264-
MyVariable = 1 # Pascalcase
265-
my_variable = 1 # Snakecase
262+
myVariable = 1 # Camel case
263+
MyVariable = 1 # Pascal case
264+
my_variable = 1 # Snake case
266265
267266
Everyone has their own preference to what style to use and everybody
268267
has freedom to use their preferred style, but to improve legibility

0 commit comments

Comments
 (0)