make checkall gets pylint error as follows:
openage/convert/entity_object/conversion/aoc/genie_unit.py:483:31: E0601: Using variable 'head_unit_connection' before assignment (used-before-assignment)
It is caused by an incomplete if-else block, and can be fixed by adding an else-branch raising ValueError.
make checkall
gets pylint error as follows: openage/convert/entity_object/conversion/aoc/genie_unit.py:483:31: E0601: Using variable 'head_unit_connection' before assignment (used-before-assignment) It is caused by an incomplete if-else block, and can be fixed by adding an else-branch raising ValueError.