Pittsburgh officials said Monday that the city will not enforce gun legislation signed into law in April until a court rules on its legality.