We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot raise NoPermission instance as:
NoPermission
Expression e has type vim.fault.NoPermission but must extend BaseException.
e
vim.fault.NoPermission
Reference code:
def f() -> None: ... try: return partial(vim.ServiceInstance, ...)() except vim.fault.NoPermission as e: ... raise e
raise vim.fault.NoPermission()
mypy
pyre
I'd expect raise vim.fault.NoPermission() to not be linted as an error.
No response
The text was updated successfully, but these errors were encountered:
Fixed in 4e387cc
Sorry, something went wrong.
DanielDraganov
No branches or pull requests
Describe the bug
Cannot raise
NoPermission
instance as:Reference code:
Reproduction steps
raise vim.fault.NoPermission()
mypy
/pyre
against itExpected behavior
I'd expect
raise vim.fault.NoPermission()
to not be linted as an error.Additional context
No response
The text was updated successfully, but these errors were encountered: