File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def freeze_locks(session: nox.Session) -> None:
2929 "-o" ,
3030 str (target ),
3131 "--min-python-version" ,
32- "3.8 " ,
32+ "3.11 " ,
3333 str (path ),
3434 )
3535
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def _poll(
2525 webhook_url : str ,
2626 tracker_path : pathlib .Path ,
2727 api_url : str ,
28- params : typing . Dict [str , str ],
28+ params : dict [str , str ],
2929 last_update : str ,
3030) -> str :
3131 params = {** params , "since" : last_update }
@@ -121,13 +121,13 @@ def main(
121121 tracker_path : pathlib .Path ,
122122 period : int ,
123123 api_url : str ,
124- params : typing . Optional [ pathlib .Path ] ,
124+ params : pathlib .Path | None ,
125125):
126126 logging .basicConfig (level = "INFO" , format = "%(asctime)23.23s %(levelname)1.1s %(message)s" )
127127
128128 if params :
129129 with params .open ("r" ) as file :
130- params_dict : typing . Dict [str , str ] = json .load (file )
130+ params_dict : dict [str , str ] = json .load (file )
131131
132132 else :
133133 params_dict = {"sha" : "main" }
You can’t perform that action at this time.
0 commit comments