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

False positive Unexpected keyword argument #132

Closed
edugarcam opened this issue Jun 24, 2022 · 4 comments
Closed

False positive Unexpected keyword argument #132

edugarcam opened this issue Jun 24, 2022 · 4 comments
Labels
triage-needed Issue is not triaged.

Comments

@edugarcam
Copy link

Hi, first of all sorry if I am not making the error report correctly.

Since a week more or less we are having problems with pylint.

If we modify one function adding an additional parameter, calls to this function from other file can not see the new parameter and pylint show the error "Unexpected keyword argument".

Only restarting VSCode the new parameter is saw by pylint.

Thank you!

@github-actions github-actions bot added the triage-needed Issue is not triaged. label Jun 24, 2022
@alkatar21
Copy link

I can confirm that. I think this has been the case with the extension all along.

A tip as better workaround, open the Command Pallet (Ctrl + Shift + p) -> Pylint: Restart Linter also works, then only the linter restarts and not everything that has to do with VSCode.

@karthiknadig
Copy link
Member

Pylint might be caching something for faster linting. Having to restart linter each time does not feel right.

/cc @DanielNoord

@DanielNoord
Copy link

pylint doesn't cache anything so every run is disconnected from the previous run.

@karthiknadig
Copy link
Member

Duplicate of #129

See discussion here for details #129 (comment). Since pylint is run in a server like manner there is some caching. This is a side effect of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

4 participants