summaryrefslogtreecommitdiff
path: root/pygments/lexers/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/graph.py')
-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),
],
}
-
-