I live in an ex-HA flat, and it's literally written into my deeds that I'm not allowed a cat or dog without written permission from the HA, so if I rented it out I'd have to say no pets.
I'm not convinced that's legally enforceable though, and there's plenty of other folk ignoring it.