[mypy] Fix errors: 'Unexpected keyword argument' & 'Too few arguments'
-
Error: "Unexpected keyword argument" [call-arg]
-
Fix: Call deprecation.renamed without naming the arguments
-
Error: "Too few arguments" [call-arg]
-
Fix: Pass an explicit None as 3rd argument when calling deprecation.renamed function