Background:
my code takes the changes of a git merge request and compares the extentions with a rule file, which says which file was changed (for example implementation file because .py was changed).
Now I want to do a mapping. If something in the implementation files are changed I want to save this information. I just did an boolean implementation_check = False
.
My change_log_array list has so many arrays like my rules. If the rule is not triggered the array will stay empty (for example a file with requirements)
Question:
Now I have some empty arrays in my list (in the beginning or in the middle of the list).
How can I check if an array is empty? like if x is not None: