Skip to content

Commit 9c6040f

Browse files
committed
Update productivity.rst
1 parent 6f44f4c commit 9c6040f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/productivity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ get more errors:
9595
Here we see the following suggestions:
9696

9797
- On line 1 we're missing a module docstring. This is a warning that we're
98-
going against a coding convetion and thus we get a ``CXXXX`` message code.
98+
going against a coding convention and thus we get a ``CXXXX`` message code.
9999
This is not critical, so let's not focus on this for now.
100100
- On lines 4 and 5 we have undefined variable ``np``. This will create
101101
error if we would execute the code and thus we get a ``EXXXX`` message code.
@@ -110,7 +110,7 @@ correctly.
110110
From these messages we can deduce that the main problem is that the import
111111
statement does not use ``import numpy as np`` and thus ``np`` is undefined.
112112

113-
After changing the import stamement, the code works correctly and running
113+
After changing the import statement, the code works correctly and running
114114
``pylint lint_example.py`` will only warn about the missing docstring.
115115
You can also notice that the changes have increased the rating and
116116
Pylint will show the improvement since last run.

0 commit comments

Comments
 (0)