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

Disallow calls to untyped functions #8276

Merged
merged 4 commits into from
Mar 23, 2021
Merged

Conversation

wochinge
Copy link
Contributor

@wochinge wochinge commented Mar 22, 2021

Proposed changes:

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@wochinge wochinge requested review from a team, tmbo and alwx and removed request for a team and tmbo March 22, 2021 16:49
@@ -120,7 +120,8 @@ types:
--disable-error-code has-type \
--disable-error-code valid-type \
--disable-error-code no-redef \
--disable-error-code func-returns-value
--disable-error-code func-returns-value \
--disallow-untyped-calls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@wochinge wochinge force-pushed the misc/disallow-untyped-calls branch from c286a96 to fdf16cd Compare March 23, 2021 09:08
@wochinge wochinge enabled auto-merge March 23, 2021 09:08
@wochinge wochinge merged commit 053eb74 into main Mar 23, 2021
@wochinge wochinge deleted the misc/disallow-untyped-calls branch March 23, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mypy: Disallow calling functions without type annotations from functions with type annotation
2 participants