types: truthy-functions are a thing now in mypy
This commit is contained in:
parent
356495beaf
commit
a2b73a9286
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ PROXY_PROVIDERS = {p.provider: p for p in [ # In order of preference
|
|||
ProxyCloudfrontAutomation,
|
||||
ProxyFastlyAutomation,
|
||||
ProxyAzureCdnAutomation
|
||||
] if p.enabled}
|
||||
] if p.enabled} # type: ignore[truthy-function]
|
||||
|
||||
|
||||
def create_proxy(pool: Pool, origin: Origin) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue