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

Resolve pylint possibly-used-before-assignment #262

Merged
merged 1 commit into from
May 27, 2024

Conversation

cjmayo
Copy link
Collaborator

@cjmayo cjmayo commented May 21, 2024

************* Module fract4d.fractal
fract4d/fractal.py:174:40: E0606: Possibly using variable 'main_file' before assignment (possibly-used-before-assignment)
************* Module fract4d.gradient
fract4d/gradient.py:223:45: E0606: Possibly using variable 'factor' before assignment (possibly-used-before-assignment)
************* Module fract4d.tests.test_fract4d
fract4d/tests/test_fract4d.py:582:36: E0606: Possibly using variable 'temp' before assignment (possibly-used-before-assignment)
************* Module fract4d_compiler.translate
fract4d_compiler/translate.py:793:15: E0606: Possibly using variable 'r' before assignment (possibly-used-before-assignment)

pylint added a new error.

************* Module fract4d.fractal
fract4d/fractal.py:174:40: E0606: Possibly using variable 'main_file' before assignment (possibly-used-before-assignment)
************* Module fract4d.gradient
fract4d/gradient.py:223:45: E0606: Possibly using variable 'factor' before assignment (possibly-used-before-assignment)
************* Module fract4d.tests.test_fract4d
fract4d/tests/test_fract4d.py:582:36: E0606: Possibly using variable 'temp' before assignment (possibly-used-before-assignment)
************* Module fract4d_compiler.translate
fract4d_compiler/translate.py:793:15: E0606: Possibly using variable 'r' before assignment (possibly-used-before-assignment)
@cjmayo cjmayo merged commit 893fcd0 into fract4d:master May 27, 2024
7 checks passed
@cjmayo cjmayo deleted the possibly-used-before-assignment branch May 27, 2024 18:30
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.

1 participant