Use explicit imports.

This commit is contained in:
practicalswift
2015-12-24 00:31:54 +01:00
parent b1fdf56f5c
commit 1c6308648f

View File

@@ -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']