The independent inquiry will look at the workplace culture in all federal parliamentary parties and how to improve it, particularly the way it treats women.