We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is a change that you never enter the while loop, which makes the first_level attribute undefined.
first_level
quetz/quetz/config.py
Lines 395 to 408 in efcfdb8
This can cause the following error.
UnboundLocalError: cannot access local variable 'first_level' where it is not associated with a value
I feel like this should have been caught by some pre-commit hook (e.g. mypy).
mypy
The text was updated successfully, but these errors were encountered:
Doesn't seem to be so easy to catch this with a pre-commit hook (see python/mypy#2400).
Sorry, something went wrong.
janjagusch
Successfully merging a pull request may close this issue.
There is a change that you never enter the while loop, which makes the
first_level
attribute undefined.quetz/quetz/config.py
Lines 395 to 408 in efcfdb8
This can cause the following error.
I feel like this should have been caught by some pre-commit hook (e.g.
mypy
).The text was updated successfully, but these errors were encountered: