Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ytliuSVN committed Oct 28, 2024
1 parent c9dd337 commit aa283e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/app/calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
Calculator functions
"""


def add(x, y):
return x + y
4 changes: 2 additions & 2 deletions app/app/tests.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""
Sample tests
"""

from django.test import SimpleTestCase

from app import calc


class CalcTests(SimpleTestCase):

def test_add_numbers(self):
res = calc.add(5, 6)

Expand Down

0 comments on commit aa283e9

Please sign in to comment.