mirror of
https://github.com/httpie/cli.git
synced 2024-11-07 16:34:35 +01:00
PEP-8
This commit is contained in:
parent
bced559496
commit
d89eeb0796
@ -3,15 +3,19 @@ CLI argument parsing logic.
|
||||
|
||||
"""
|
||||
import os
|
||||
import json
|
||||
import re
|
||||
import json
|
||||
import argparse
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
OrderedDict = dict
|
||||
import argparse
|
||||
|
||||
from requests.structures import CaseInsensitiveDict
|
||||
|
||||
from . import __version__
|
||||
|
||||
|
||||
|
@ -4,10 +4,10 @@ import json
|
||||
import pygments
|
||||
|
||||
from pygments.util import ClassNotFound
|
||||
from pygments.styles import get_style_by_name, STYLE_MAP
|
||||
from pygments.lexers import get_lexer_for_mimetype, HttpLexer
|
||||
from pygments.formatters.terminal256 import Terminal256Formatter
|
||||
from pygments.formatters.terminal import TerminalFormatter
|
||||
from pygments.styles import get_style_by_name, STYLE_MAP
|
||||
|
||||
from . import solarized
|
||||
|
||||
|
@ -27,7 +27,8 @@ THE SOFTWARE.
|
||||
|
||||
"""
|
||||
from pygments.style import Style
|
||||
from pygments.token import Token, Comment, Name, Keyword, Generic, Number, Operator, String
|
||||
from pygments.token import (Token, Comment, Name, Keyword, Generic, Number,
|
||||
Operator, String)
|
||||
|
||||
|
||||
BASE03 = '#002B36'
|
||||
|
Loading…
Reference in New Issue
Block a user