mypy: Add --disallow-any=generics & extend typing accordingly.
Also reset typing of ExternalBotHandler to Any after discussion.
This commit is contained in:
parent
424a4bb631
commit
28687f18ca
10 changed files with 54 additions and 51 deletions
|
@ -124,6 +124,7 @@ mypy_command = "mypy"
|
|||
extra_args = ["--check-untyped-defs",
|
||||
"--follow-imports=silent",
|
||||
"--scripts-are-modules",
|
||||
"--disallow-any=generics",
|
||||
"-i"]
|
||||
if args.disallow_untyped_defs:
|
||||
extra_args.append("--disallow-untyped-defs")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue