Is there any configuration similar to strict like mypy
#1381
-
|
Something that check if the function are typed or something similar ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Hey @Izcarmt95! Sorry for the slow response - this somehow slipped through the cracks. We have an in a config file. Does that meet your needs? If not, please open a feature request, and we'll look into it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Here is one more error that is currently off by default implicit-abstract-baseclass (unsure if mypy includes it in strict mode). |
Beta Was this translation helpful? Give feedback.
Enable these two error codes
unannotated-parameter: https://pyrefly.org/en/docs/error-kinds/#unannotated-parameter
unannotated-return: https://pyrefly.org/en/docs/error-kinds/#unannotated-return
Error configuration: https://pyrefly.org/en/docs/configuration/#errors