[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-04-13 00:00:18 +00:00
parent 72ad6dc953
commit f4cd1ba0d6
813 changed files with 66015 additions and 58839 deletions

View file

@ -1,6 +1,7 @@
from __future__ import annotations
from distutils import log
from distutils.command import upload as orig
from setuptools.errors import RemovedCommandError
@ -9,9 +10,9 @@ class upload(orig.upload):
def run(self):
msg = (
"The upload command has been removed, use twine to upload "
+ "instead (https://pypi.org/p/twine)"
'The upload command has been removed, use twine to upload ' +
'instead (https://pypi.org/p/twine)'
)
self.announce("ERROR: " + msg, log.ERROR)
self.announce('ERROR: ' + msg, log.ERROR)
raise RemovedCommandError(msg)