diff options
author | arcadia-devtools <[email protected]> | 2022-06-09 14:39:19 +0300 |
---|---|---|
committer | arcadia-devtools <[email protected]> | 2022-06-09 14:39:19 +0300 |
commit | c04b663c7bb4b750deeb8f48f620497ec13da8fa (patch) | |
tree | 151ebc8bfdd2ad918caf5e6e2d8013e14272ddf8 /contrib/python/Pygments/py3/pygments/lexers/promql.py | |
parent | 0d55ca22c507d18c2f35718687e0b06d9915397b (diff) |
intermediate changes
ref:2d4f292087954c9344efdabb7b2a67f466263c65
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/promql.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/lexers/promql.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/promql.py b/contrib/python/Pygments/py3/pygments/lexers/promql.py index b9646d46407..1c239a26a72 100644 --- a/contrib/python/Pygments/py3/pygments/lexers/promql.py +++ b/contrib/python/Pygments/py3/pygments/lexers/promql.py @@ -4,7 +4,7 @@ Lexer for Prometheus Query Language. - :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -25,7 +25,7 @@ __all__ = ["PromQLLexer"] class PromQLLexer(RegexLexer): """ - For `PromQL <https://prometheus.io/docs/prometheus/latest/querying/basics/>`_ queries. + For PromQL queries. For details about the grammar see: https://github.com/prometheus/prometheus/tree/master/promql/parser @@ -34,6 +34,7 @@ class PromQLLexer(RegexLexer): """ name = "PromQL" + url = 'https://prometheus.io/docs/prometheus/latest/querying/basics/' aliases = ["promql"] filenames = ["*.promql"] |