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