File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 - gql[aiohttp]~=3.3.0
3434 - async-lru~=1.0.3
3535- repo : https://github.com/pre-commit/mirrors-mypy
36- rev : v1.1.1
36+ rev : v1.2.0
3737 hooks :
3838 - id : mypy
3939 additional_dependencies :
4545 - gql[aiohttp]~=3.3.0
4646 - async-lru~=1.0.3
4747- repo : https://github.com/asottile/pyupgrade
48- rev : v3.3.1
48+ rev : v3.3.2
4949 hooks :
5050 - id : pyupgrade
5151 args :
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ class RulesJobQueue(JobQueue):
77 async def stop (self , wait : bool = True ) -> None :
88 """Declines all join requests and stops the job queue. That way, users will know that
99 they have to apply to join again."""
10- # We loop instead of `asyncio.gather`-ing to minimize the rist of timeouts & flood limits
10+ # We loop instead of `asyncio.gather`-ing to minimize the risk of timeouts & flood limits
1111 for job in self .jobs ():
12- if job .name .startswith ("JOIN_TIMEOUT" ):
12+ if job .name and job . name .startswith ("JOIN_TIMEOUT" ):
1313 await job .run (self .application )
1414 await super ().stop (wait )
You can’t perform that action at this time.
0 commit comments