@classmethod
def from_args(cls, target_url, default_url, test_url):
    """Return an UploadToDeprecatedPyPIDetected instance."""
    return cls(
        """You're trying to upload to the legacy PyPI site '{}'. Uploading to those sites is deprecated. 
 The new sites are pypi.org and test.pypi.org. Try using {} (or {}) to upload your packages instead. These are the default URLs for Twine now. 
 More at https://packaging.python.org/guides/migrating-to-pypi-org/ ."""
        .format(target_url, default_url, test_url))
