Skip to content

Commit c5ba40c

Browse files
author
cclauss
authored
Supress flake8 tests with # noqa: F821
1 parent 51ca3d5 commit c5ba40c

File tree

1 file changed

+2
-2
lines changed
  • python/Python编程快速上手 让繁琐工作自动化/automate_online-materials

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
if name == 'Alice':
1+
if name == 'Alice': # noqa: F821 undefined name 'name'
22
print('Hi, Alice.')
3-
elif age < 12:
3+
elif age < 12: # noqa: F821 undefined name 'age'
44
print('You are not Alice, kiddo.')
55
else:
66
print('You are neither Alice nor a little kid.')

0 commit comments

Comments
 (0)