def func():
    for i in range(10):
        pass

def main():
    for i in range(10):
        pass
if __name__ == '__main__':
    pass
why does Python lint want me to use different local variable name, than a global, for the same purpose