mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
mypy: Add specific codes to type: ignore annotations.
https://mypy.readthedocs.io/en/stable/error_codes.html Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
029bfb9fee
commit
f8c95cda51
@@ -494,7 +494,7 @@ do not match the types declared in the implementation of {}.\n""".format(functio
|
||||
# possible.
|
||||
|
||||
vtype = self.get_standardized_argument_type(function.__annotations__[vname])
|
||||
vname = defval.post_var_name # type: ignore # See zerver/lib/request.py
|
||||
vname = defval.post_var_name # type: ignore[attr-defined] # See zerver/lib/request.py
|
||||
function_params.add((vname, vtype))
|
||||
|
||||
diff = openapi_params - function_params
|
||||
|
||||
Reference in New Issue
Block a user