@@ -95,7 +95,7 @@ def is_default_challenge_property(key: str, value: Any) -> bool:
95
95
if key == "attempts" and value == 0 :
96
96
return True
97
97
98
- if key == "require_anonymize" and value == False :
98
+ if key == "require_anonymize" and value is False :
99
99
return True
100
100
101
101
if key == "state" and value == "visible" :
@@ -439,7 +439,7 @@ def _set_required_challenges(self):
439
439
required_challenges .remove (self .challenge_id )
440
440
required_challenges .sort ()
441
441
442
- if self .get ("require_anonymize" ) == None :
442
+ if self .get ("require_anonymize" ) is None :
443
443
self ["require_anonymize" ] = False
444
444
445
445
requirements_payload = {
@@ -1032,7 +1032,7 @@ def verify(self, ignore: Tuple[str] = ()) -> bool:
1032
1032
for remote_file_name in remote_files :
1033
1033
if remote_file_name not in local_files :
1034
1034
click .secho (
1035
- f"{ remote_file_namne } is not in local challenge." ,
1035
+ f"{ remote_file_name } is not in local challenge." ,
1036
1036
fg = "yellow" ,
1037
1037
)
1038
1038
return False
@@ -1045,7 +1045,7 @@ def verify(self, ignore: Tuple[str] = ()) -> bool:
1045
1045
1046
1046
if local_file_sha1sum != remote_file_sha1sum :
1047
1047
click .secho (
1048
- f "sha1sum does not match with remote one." ,
1048
+ "sha1sum does not match with remote one." ,
1049
1049
fg = "yellow" ,
1050
1050
)
1051
1051
return False
@@ -1060,7 +1060,7 @@ def verify(self, ignore: Tuple[str] = ()) -> bool:
1060
1060
1061
1061
if remote_file_contents != local_file_contents :
1062
1062
click .secho (
1063
- f "the file content does not match with the remote one." ,
1063
+ "the file content does not match with the remote one." ,
1064
1064
fg = "yellow" ,
1065
1065
)
1066
1066
return False
0 commit comments