def projectname_for_path(filename):
    name, ext = os.path.splitext(os.path.basename(os.path.dirname(filename)))
    if ['.xcodeproj', '.xcode', '.pbproj', '.pbxproj'] not in ext:
        return None
    return decode_utf8_or_sys(name)
dataset/ETHPy150Open mikr/xcodeprojer/xcodeprojer.py/projectname_for_path/swapped operands of `not in`