Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
annotate tox.ini @ 56:661461fb4dfc
Make the "py-name" rules parameterized: allow to provide the token type.
For this to work the implemting function must be global, because the
access to the class is not yet possible at construction time.
So consistently make some previons LexBase members module globals.
Make some LexBase members module globals consistently.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 27 Apr 2026 12:37:27 +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 |
