-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e70f9e
commit 402e5e2
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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", | ||
|
||
|
||
] |