-
Notifications
You must be signed in to change notification settings - Fork 10
/
prod_test.py
45 lines (30 loc) · 793 Bytes
/
prod_test.py
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
44
45
import os
from sys import (
path as p,
argv
)
import math
# This should be at the top.
from __future__ import print_function
import random as ran
def foo(this_is_unused, x=[1, 2]):
x.append(ran.randint(1, 100))
return x
def bar():
print("Hey there, Reviewer!")
def spam():
print("Hope you're paying attention to the tests too!")
def give_me_an_issue():
print(f"okay. Let's fix this unnecessary fstring.")
def get_hypotenuse(a, b):
"""Fine. Fix this pythagorean issue as well."""
return math.sqrt(a**2 + b**2)
__all__ = [
"got_hypotenuse", # Shall be deleted
# Yup. Delete this
"this_too_would_be_deleted", give_me_an_issue, spam,
foo, "future", bar,
get_hypotenuse, "ughhh", # With a comment,
"budd",
"thudd",
]