Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
annotate 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 |
| rev | line source |
|---|---|
|
29
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 # -*- coding: utf-8 -*- |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 [flake8] |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 per-file-ignores = |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 # E122: continuation line missing indentation or outdented |
|
33
db1bc740a201
FIX: ADD: Forgotten bases.py.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
6 pygments_lexer_pseudocode2/bases.py: E122 |
|
db1bc740a201
FIX: ADD: Forgotten bases.py.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
7 # E122: continuation line missing indentation or outdented |
|
29
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 # E131: continuation line unaligned for hanging indent |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 # E261: at least two spaces before inline comment |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 # E265: block comment should start with '# ' |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 # E501: line too long |
|
c5fa8ee08059
Put a flake8 configuration into the new file "tox.ini".
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 pygments_lexer_pseudocode2/fr_pseudocode.py:E122,E131,E261,E265,E501 |
