mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
72ad6dc953
commit
f4cd1ba0d6
813 changed files with 66015 additions and 58839 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from distutils import log
|
||||
import distutils.command.register as orig
|
||||
from __future__ import annotations
|
||||
|
||||
import distutils.command.register as orig
|
||||
from distutils import log
|
||||
from setuptools.errors import RemovedCommandError
|
||||
|
||||
|
||||
|
|
@ -9,10 +10,10 @@ class register(orig.register):
|
|||
|
||||
def run(self):
|
||||
msg = (
|
||||
"The register command has been removed, use twine to upload "
|
||||
+ "instead (https://pypi.org/p/twine)"
|
||||
'The register 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue