summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-16 16:45:53 +0200
committerGeorg Brandl <georg@python.org>2014-09-16 16:45:53 +0200
commit98dac60db6d954fae554b9b77eec2197f533fdaf (patch)
treefc71e1648a5d7ce46f4fc5ad74114deb9cb9022f /pygments
parentaa1e7d94fdc1722809a8f045edec4a3454c58ad0 (diff)
downloadpygments-98dac60db6d954fae554b9b77eec2197f533fdaf.tar.gz
fix PEP8
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/graph.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pygments/lexers/graph.py b/pygments/lexers/graph.py
index 6aa446c7..04ec3262 100644
--- a/pygments/lexers/graph.py
+++ b/pygments/lexers/graph.py
@@ -12,8 +12,8 @@
import re
from pygments.lexer import RegexLexer, include, bygroups, using, this
-from pygments.token import Keyword, Punctuation, Text, Comment, Operator, Name,\
- String, Number, Generic, Whitespace
+from pygments.token import Keyword, Punctuation, Comment, Operator, Name,\
+ String, Number, Whitespace
__all__ = ['CypherLexer']
@@ -30,7 +30,7 @@ class CypherLexer(RegexLexer):
"""
name = 'Cypher'
aliases = ['cypher']
- filenames = ['*.cyp','*.cypher']
+ filenames = ['*.cyp', '*.cypher']
flags = re.MULTILINE | re.IGNORECASE
@@ -43,7 +43,7 @@ class CypherLexer(RegexLexer):
include('strings'),
include('whitespace'),
include('barewords'),
- ],
+ ],
'comment': [
(r'^.*//.*\n', Comment.Single),
],
@@ -77,5 +77,3 @@ class CypherLexer(RegexLexer):
(r'\d+', Number),
],
}
-
-