Skip to content

Commit f0e8745

Browse files
testing critical paths
1 parent 0e76edc commit f0e8745

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

app/calculator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ def divide(x, y):
1212
if y == 0:
1313
return 'Cannot divide by 0'
1414
return x * 1.0 / y
15+
16+
def power(x, y):
17+
return x**y

app/smiles.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Smiles:
2+
def smiley():
3+
return ":)"

codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
profilling:
2+
critical_files_paths:
3+
- app/calculator.py

0 commit comments

Comments
 (0)