Enable nitpicky mode for docs and raise errors for deprecations in tests