mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use explicit imports.
This commit is contained in:
@@ -2,8 +2,23 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from pygments.lexer import RegexLexer, include, bygroups
|
from pygments.lexer import (
|
||||||
from pygments.token import *
|
RegexLexer,
|
||||||
|
bygroups,
|
||||||
|
include,
|
||||||
|
)
|
||||||
|
from pygments.token import (
|
||||||
|
Comment,
|
||||||
|
Generic,
|
||||||
|
Keyword,
|
||||||
|
Name,
|
||||||
|
Number,
|
||||||
|
Operator,
|
||||||
|
Punctuation,
|
||||||
|
String,
|
||||||
|
Text,
|
||||||
|
Whitespace,
|
||||||
|
)
|
||||||
|
|
||||||
__all__ = ['SwiftLexer', 'SwiftConsoleLexer']
|
__all__ = ['SwiftLexer', 'SwiftConsoleLexer']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user