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

In linter, ignore @overload functions #562

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stefanv
Copy link
Contributor

@stefanv stefanv commented May 24, 2024

See #559

This PR makes the linter behave correctly, but not the validator.

The piece I am missing is figuring out how, without the AST, to see whether we are dealing with the @overload function definition, or the "real" function definition.

This is easy in the linter, as we can get decorator information from the AST.

Is it OK to have some functionality work only in the linter @rossbar?

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

Successfully merging this pull request may close these issues.

1 participant