You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When my code had: from sys import * , I got following output:
...
.py:2:0: W0614: Unused import byteorder from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import call_tracing from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import callstats from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import copyright from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import displayhook from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import dont_write_bytecode from wildcard import (unused-wildcard-import)
.py:2:0: W0614: Unused import exc_info from wildcard import (unused-wildcard-import)
...
I wonder if there is a way to merge this infomation into a single line output like .py:2:0: W0614: 'sys' unused-wildcard-import. I just want a brief conclusion instead of all files listed in a single module
The text was updated successfully, but these errors were encountered:
Instead of reporting all unused imports, the checker now emits one
single message for all unused imports with a stylized string containing
all imports.
This closespylint-dev#3859
* Improve and flatten ``unused-wildcard-import`` message
Instead of reporting all unused imports, the checker now emits one
single message for all unused imports with a stylized string containing
all imports.
This closes#3859
* Add tests for string formation
Question
When my code had:
from sys import *
, I got following output:I wonder if there is a way to merge this infomation into a single line output like
.py:2:0: W0614: 'sys' unused-wildcard-import
. I just want a brief conclusion instead of all files listed in a single moduleThe text was updated successfully, but these errors were encountered: