Compare commits

...
3 Commits
Author SHA1 Message Date
ahmedhesham301 f90812f749 run flake8
Ghaymah Deploy / test (push) Failing after 7s
2025-10-16 10:42:06 +03:00
ahmedhesham301 07696e5845 add pyflake8 setup 2025-10-16 09:33:44 +03:00
ahmedhesham301 06b519890f update value
Ghaymah Deploy / test (push) Failing after 5s
2025-10-13 19:48:02 +03:00
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -7,7 +7,6 @@ on:
branches: ["main"]
jobs:
test:
steps:
- name: Checkout repository
@@ -15,3 +14,10 @@ jobs:
- name: Run tests
run: python3 test_main.py
- name: setup pyflake8
run: |
python -m pip install flake8
- name: run pyflake8
run: flake8 .
+1 -1
View File
@@ -8,7 +8,7 @@ class TestCalculator(unittest.TestCase):
self.assertEqual(add(-1, 1), 0)
def test_subtract(self):
self.assertEqual(subtract(5, 2), 3)
self.assertEqual(subtract(5, 2), 2)
self.assertEqual(subtract(0, 1), -1)