Skip to content

Commit 290b1ea

Browse files
committed
Revert "Remove unnecessary noqa: PLC0415 comments"
This reverts commit a99e81b.
1 parent e76faea commit 290b1ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qrcode/image/styles/moduledrawers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __getattr__(name):
3838
)
3939

4040
# Import and return the drawer from the pil module
41-
from . import pil
41+
from . import pil # noqa: PLC0415
4242

4343
return getattr(pil, name)
4444

qrcode/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def make_image(self, image_factory=None, **kwargs):
363363
else:
364364
image_factory = self.image_factory
365365
if image_factory is None:
366-
from qrcode.image.pil import Image, PilImage
366+
from qrcode.image.pil import Image, PilImage # noqa: PLC0415
367367

368368
# Use PIL by default if available, otherwise use PyPNG.
369369
image_factory = PilImage if Image else PyPNGImage

0 commit comments

Comments
 (0)