File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff 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-
251250Enforcing consistent code style
252251------------------------------ -
253252
@@ -257,12 +256,12 @@ all kinds of coding styles.
257256For 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
267266Everyone has their own preference to what style to use and everybody
268267has freedom to use their preferred style, but to improve legibility
You can’t perform that action at this time.
0 commit comments