mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Python: flake8] Appease the utils/python_lint.py script.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
from sphinx.highlighting import lexers
|
from sphinx.highlighting import lexers
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
|
|||||||
@@ -7,13 +7,16 @@ from __future__ import print_function
|
|||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
import textwrap
|
||||||
|
import tokenize
|
||||||
|
from bisect import bisect
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
import textwrap
|
|
||||||
import tokenize
|
|
||||||
from bisect import bisect
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
basestring
|
basestring
|
||||||
|
|||||||
Reference in New Issue
Block a user