-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfixed_test.py
More file actions
43 lines (35 loc) · 886 Bytes
/
fixed_test.py
File metadata and controls
43 lines (35 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
### Code to try linter errors
import sys
import os
class Class1:
def add_four(self, a, b, c):
sum1 = a + b + c
message = "the sum is:"
def too_long_function(self):
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("too long string too long string too long string too long string"
" too long string")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
print("nope")
class1 = class1()
class1.too_long_function()