-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug A clear and concise description of what the bug is.
There's star imports of C wrapped modules in the codebase. If I tell pycln to not expand stars, it'll still fail.
To Reproduce Steps to reproduce the behavior:
-
Take this code snippet:
from win32api import *
-
Run this Pycln command:
$ pycln example.py
-
Error traceback or unexpected output (if present):
example.py:1:0 UnexpandableImportStar: 'win32api' module not found or it's a C wrapped module! ⛔
Expected behavior:
- Description: A clear and concise description of what you expected to happen.
pycln shouldn't error on unexpandable star imports if its not going to expand star imports.
Environment (please complete the following informations):
- Python Version: Python 3.9.13
- Pycln Version: pycln, version 2.1.1
- OS Type: Windows 10
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working