mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
pep8
This commit is contained in:
parent
3e00dc0c10
commit
e11fa92d63
2 changed files with 2 additions and 3 deletions
|
@ -3,6 +3,7 @@ flake8-max-line-length = 180
|
|||
flake8-ignore =
|
||||
*.py E122
|
||||
*.py E402
|
||||
*.py W503 # line break before binary operators is a good thing
|
||||
tests/tools.py E128
|
||||
xonsh/pygments_cache.py ALL
|
||||
# flake8 gives incorrect unused import errors, F401
|
||||
|
|
|
@ -1342,9 +1342,8 @@ def pygments_style_by_name(name):
|
|||
return astyle
|
||||
|
||||
|
||||
|
||||
def _monkey_patch_pygments_codes():
|
||||
""" Monky patch pygments' dict of console codes,
|
||||
""" Monky patch pygments' dict of console codes,
|
||||
with new color names
|
||||
"""
|
||||
import pygments.console
|
||||
|
@ -1380,7 +1379,6 @@ def XonshTerminal256Formatter():
|
|||
# Can be removed once pygment names get fixed.
|
||||
_monkey_patch_pygments_codes()
|
||||
|
||||
|
||||
class XonshTerminal256FormatterProxy(terminal256.Terminal256Formatter):
|
||||
"""Proxy class for xonsh terminal256 formatting that understands.
|
||||
xonsh color tokens.
|
||||
|
|
Loading…
Add table
Reference in a new issue