diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2025-04-30 12:57:01 +0200 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2025-07-01 09:51:38 +0800 |
commit | f54fe78d9a1a760bdfd50131221cb93916ce5865 (patch) | |
tree | b60aa4972fdc22c53fb0a45dbcae4c480091f925 /BaseTools/Source/Python/Ecc | |
parent | d165ebcf4363dcdb9164d4d2eed410d01aaa1f30 (diff) | |
download | edk2-f54fe78d9a1a760bdfd50131221cb93916ce5865.zip edk2-f54fe78d9a1a760bdfd50131221cb93916ce5865.tar.gz edk2-f54fe78d9a1a760bdfd50131221cb93916ce5865.tar.bz2 |
BaseTools: Remove unused import
Running the vulture tool gave the following report.
Remove the unused import.
- BPDG/BPDG.py:21:
unused import 'encodings' (90% confidence)
- build/build.py:61:
unused import 'Manager' (90% confidence)
- Ecc/CParser4/CLexer.py:4:
unused import 'TextIO' (90% confidence)
- Ecc/CParser4/CParser.py:5:
unused import 'TextIO' (90% confidence)
- Eot/CParser4/CLexer.py:4:
unused import 'TextIO' (90% confidence)
- Eot/CParser4/CParser.py:5:
unused import 'TextIO' (90% confidence)
- Eot/EotMain.py:28:
unused import 'ConvertGuid' (90% confidence)
- GenFds/FdfParser.py:16:
unused import 'hexdigits' (90% confidence)
- Table/TableEotReport.py:16:
unused import 'EotToolError' (90% confidence)
- UPT/Library/CommentGenerating.py:19:
unused import 'USAGE_ITEM_NOTIFY' (90% confidence)
- UPT/Library/ParserValidate.py:18:
unused import 'COMPONENT_TYPE_LIST' (90% confidence)
- UPT/Library/UniClassObject.py:25:
unused import 'CheckUTF16FileHeader' (90% confidence)
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
-rw-r--r-- | BaseTools/Source/Python/Ecc/CParser4/CLexer.py | 1 | ||||
-rw-r--r-- | BaseTools/Source/Python/Ecc/CParser4/CParser.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Ecc/CParser4/CLexer.py b/BaseTools/Source/Python/Ecc/CParser4/CLexer.py index 888d685..f0c6e66 100644 --- a/BaseTools/Source/Python/Ecc/CParser4/CLexer.py +++ b/BaseTools/Source/Python/Ecc/CParser4/CLexer.py @@ -1,7 +1,6 @@ # Generated from C.g4 by ANTLR 4.7.1
from antlr4 import *
from io import StringIO
-from typing import TextIO
import sys
diff --git a/BaseTools/Source/Python/Ecc/CParser4/CParser.py b/BaseTools/Source/Python/Ecc/CParser4/CParser.py index 4d88238..3946497f8 100644 --- a/BaseTools/Source/Python/Ecc/CParser4/CParser.py +++ b/BaseTools/Source/Python/Ecc/CParser4/CParser.py @@ -2,7 +2,6 @@ # encoding: utf-8
from antlr4 import *
from io import StringIO
-from typing import TextIO
import sys
|