Skip to content
New issue

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

Feature request: support --untyped-calls-exclude #556

Open
bersbersbers opened this issue Dec 12, 2023 · 1 comment
Open

Feature request: support --untyped-calls-exclude #556

bersbersbers opened this issue Dec 12, 2023 · 1 comment
Labels

Comments

@bersbersbers
Copy link

bersbersbers commented Dec 12, 2023

For issues such as python/mypy#16651 and python/mypy#16652 and python/mypy#16653, it would be good to be able to create gists with different values of --untyped-calls-exclude.

@ymyzk ymyzk added the feature label Dec 18, 2023
@ymyzk
Copy link
Owner

ymyzk commented Dec 18, 2023

Thanks for filing a feature request. It seems this option can receive an arbitrary string as MODULE and the current mypy Playground doesn't have a good sanitization/validation logic for such an option. This option is not trivial as adding a new boolean option, but I feel it's still worth supporting.

  --untyped-calls-exclude MODULE                                                                         
                            Disable --disallow-untyped-calls for functions/methods coming from specific  
                            package, module, or class                                                    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants