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
I am using mypy with an option --disallow-untyped-calls
mypy
--disallow-untyped-calls
From mypy docs
--disallow-untyped-calls This flag reports an error whenever a function with type annotations calls a function defined without annotations.
Running command
mypy --disallow-untyped-calls .
on following code
import marshmallow as ma class MySchema(ma.Schema): arb = ma.fields.Float()
gives me output
error: Call to untyped function "Float" in typed context
The same for Pluck, Method, Constant For other ma.fields seem to be fine.
Pluck
Method
Constant
ma.fields
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I am using
mypy
with an option--disallow-untyped-calls
From mypy docs
Running command
on following code
gives me output
The same for
Pluck
,Method
,Constant
For other
ma.fields
seem to be fine.The text was updated successfully, but these errors were encountered: