Move doctest directive and ignores to setup.cfg