Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
view tox.ini @ 160:b4028838e0c8
Implement lexer option "prohibit_raiseonerror_filter".
Sphinx raises by default when an Error token is seen (by means of the
"raiseonerror" filter that is applied by default to lexers in Sphinx).
This option skips this and allows error locations to be seen and highlighted
properly.
While there convert most Generic.Error tokens to Error tokens because now
they can be handled by a lexer with "prohibit_raiseonerror_filter=True".
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 08 May 2026 17:46:28 +0200 |
| parents | db1bc740a201 |
| children | a4317957148b |
line wrap: on
line source
# -*- coding: utf-8 -*- [flake8] per-file-ignores = # E122: continuation line missing indentation or outdented pygments_lexer_pseudocode2/bases.py: E122 # E122: continuation line missing indentation or outdented # E131: continuation line unaligned for hanging indent # E261: at least two spaces before inline comment # E265: block comment should start with '# ' # E501: line too long pygments_lexer_pseudocode2/fr_pseudocode.py:E122,E131,E261,E265,E501
