Skip to content

Commit

Permalink
Update evaluate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Oct 30, 2024
1 parent 73b87dd commit 6ffe569
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kyu_2/evaluate_mathematical_expression/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ def calc(string: str) -> float:
return float(string)


def check_conditions(strings, string, temp) -> (str, str):
def check_conditions(strings: list, string: str, temp: str) -> (str, str):
"""
Checking conditions and normalizing string input
:param strings:
:param string:
:param temp:
:return:
Normalizing string input by checking conditions
:param strings: list
:param string: str
:param temp: str

Check notice on line 172 in kyu_2/evaluate_mathematical_expression/evaluate.py

View check run for this annotation

codefactor.io / CodeFactor

kyu_2/evaluate_mathematical_expression/evaluate.py#L172

Variable name "s" doesn't conform to snake_case naming style (invalid-name)
:return: tuple(str, str)
"""
for i, s in enumerate(string):
if s.isdigit():
Expand Down

0 comments on commit 6ffe569

Please sign in to comment.