📝[Refactor] ruffを使用しコード検証修正を行った

This commit is contained in:
misyaguziya
2023-11-08 17:35:50 +09:00
parent 02acc4a191
commit 4351122cb4
17 changed files with 107 additions and 90 deletions

View File

@@ -13,7 +13,8 @@ def get_key_by_value(dictionary, value):
return None
def callFunctionIfCallable(function, *args):
if callable(function) is True: function(*args)
if callable(function) is True:
function(*args)
def isEven(number):
return number % 2 == 0