Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pythoncalculator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .add import add
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete this line


from .multiply import multiply
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs empty line at end of file

2 changes: 2 additions & 0 deletions pythoncalculator/multiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def multiply(x, y):
return x * y
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs new line at end of doc

6 changes: 6 additions & 0 deletions tests/test_multiply.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pythoncalculator import multiply


def test_multiply():
assert multiply(10, 3) == 30