File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Your First Pylint'ing
98
98
---------------------
99
99
100
100
We'll use a basic Python script as fodder for our tutorial.
101
- The starting code we will use is called simplecaeser .py and is here in its
101
+ The starting code we will use is called simplecaesar .py and is here in its
102
102
entirety:
103
103
104
104
.. sourcecode :: python
@@ -136,7 +136,7 @@ If we run this:
136
136
137
137
.. sourcecode :: console
138
138
139
- robertk01 Desktop$ pylint simplecaeser .py
139
+ robertk01 Desktop$ pylint simplecaesar .py
140
140
*********** ** Module simplecaesar
141
141
simplecaesar.py:16:19: C0326: Exactly one space required around assignment
142
142
encoded=encoded + letters[x]
@@ -202,7 +202,7 @@ Here is the updated code:
202
202
203
203
1 #!/usr/bin/env python3
204
204
2 """This script prompts a user to enter a message to encode or decode
205
- 3 using a classic Caeser shift substitution (3 letter shift)"""
205
+ 3 using a classic Caesar shift substitution (3 letter shift)"""
206
206
4
207
207
5 import string
208
208
6
@@ -232,7 +232,7 @@ Here is what happens when we run it:
232
232
233
233
.. sourcecode :: console
234
234
235
- robertk01 Desktop$ pylint simplecaeser .py
235
+ robertk01 Desktop$ pylint simplecaesar .py
236
236
*********** ** Module simplecaesar
237
237
simplecaesar.py:7:0: C0103: Constant name "shift" doesn't conform to UPPER_CASE naming style (invalid-name)
238
238
simplecaesar.py:8:0: C0103: Constant name "choice" doesn't conform to UPPER_CASE naming style (invalid-name)
You can’t perform that action at this time.
0 commit comments