File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,9 +290,9 @@ class CheckRunAnnotation(models.GitHubCore):
290290 CUSTOM_HEADERS = {"Accept" : "application/vnd.github.antiope-preview+json" }
291291
292292 def _repr (self ):
293- return "<{s.class_name} [{s.path}:{s.start_line}-{s.end_line}]>" . format (
294- s = self
295- )
293+ return (
294+ "<{s.class_name} [{s.path}:{s.start_line}-{s.end_line}]>"
295+ ). format ( s = self )
296296
297297 def _update_attributes (self , note ):
298298 self .path = note ["path" ]
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def test_auto_trigger_checks_prefs(self):
6969 json = repo .auto_trigger_checks (app_id , enabled = False )
7070 for pref in json ["preferences" ]["auto_trigger_checks" ]:
7171 if pref ["app_id" ] == app_id :
72- assert pref ["setting" ] == False
72+ assert not pref ["setting" ]
7373 break
7474 else :
7575 pytest .fail (
@@ -79,7 +79,7 @@ def test_auto_trigger_checks_prefs(self):
7979 json = repo .auto_trigger_checks (app_id , enabled = True )
8080 for pref in json ["preferences" ]["auto_trigger_checks" ]:
8181 if pref ["app_id" ] == app_id :
82- assert pref ["setting" ] == True
82+ assert pref ["setting" ]
8383 break
8484 else :
8585 pytest .fail (
You can’t perform that action at this time.
0 commit comments