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

Fix "variable possibly unbound" errors #996

Merged
merged 2 commits into from
Oct 1, 2023
Merged

Conversation

FastestMolasses
Copy link
Contributor

Im importing this library into my project by the source code and was getting linting errors about these 2 possibly unbound variables. The simple fix is to initialize these variables with their starting values.

@Delgan
Copy link
Owner

Delgan commented Sep 24, 2023

Hi @FastestMolasses. Thanks for the improvement.

May I ask with linter are you using please? This project uses ruff and maybe there are additional rules I should enable.

@FastestMolasses
Copy link
Contributor Author

Looks like it's not the linter, but it's coming from Pylance, the language server I am using on VSCode.

Screenshot 2023-10-01 at 2 12 07 PM

@Delgan Delgan merged commit 14da892 into Delgan:master Oct 1, 2023
16 checks passed
@Delgan
Copy link
Owner

Delgan commented Oct 1, 2023

Ok, thanks for the answer and improvement!

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.

2 participants