You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run # stop the build if there are Python syntax errors or undefined names
./draft.py:61:6: E999 SyntaxError: invalid syntax
with # with_additives
^
./openfoodfacts/init.py:74:13: F821 undefined name 'products'
setattr(products, func.name, func)
^
./openfoodfacts/init.py:89:13: F821 undefined name 'products'
setattr(products, func_all.name, func_all)
^
1 E999 SyntaxError: invalid syntax
2 F821 undefined name 'products'
3
Error: Process completed with exit code 1.
Hi @teolemon,
Regarding the F821 error, it seems there's a bug in pyflakes.
The E999 error is part of the draft.py file. I don't think it is being used anywhere inside the whole package. So, I think it can be safely removed.
What
Run # stop the build if there are Python syntax errors or undefined names
./draft.py:61:6: E999 SyntaxError: invalid syntax
with # with_additives
^
./openfoodfacts/init.py:74:13: F821 undefined name 'products'
setattr(products, func.name, func)
^
./openfoodfacts/init.py:89:13: F821 undefined name 'products'
setattr(products, func_all.name, func_all)
^
1 E999 SyntaxError: invalid syntax
2 F821 undefined name 'products'
3
Error: Process completed with exit code 1.
Part of
The text was updated successfully, but these errors were encountered: