view 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
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