mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 12:54:17 +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,3 +1,5 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import importlib.util
|
||||
import sys
|
||||
|
||||
|
|
@ -42,10 +44,10 @@ class VendorImporter:
|
|||
pass
|
||||
else:
|
||||
raise ImportError(
|
||||
"The '{target}' package is required; "
|
||||
"normally this is bundled with this package so if you get "
|
||||
"this warning, consult the packager of your "
|
||||
"distribution.".format(**locals())
|
||||
f"The '{target}' package is required; "
|
||||
f'normally this is bundled with this package so if you get '
|
||||
f'this warning, consult the packager of your '
|
||||
f'distribution.',
|
||||
)
|
||||
|
||||
def create_module(self, spec):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue