eric6/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousDefaults.py

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 7980
2c3f14a3c595
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

# -*- coding: utf-8 -*-

# Copyright (c) 2021 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing complex defaults for the miscellaneous checker.
"""

MiscellaneousCheckerDefaultArgs = {
    "BuiltinsChecker": {
        "chr": ["unichr", ],
        "str": ["unicode", ],
    },
    "CodingChecker": 'latin-1, utf-8',
    "CopyrightChecker": {
        "Author": "",
        "MinFilesize": 0,
    },
    "CommentedCodeChecker": {
        "Aggressive": False,
        "WhiteList": [
            r'pylint',
            r'pyright',
            r'noqa',
            r'type:\s*ignore',
            r'fmt:\s*(on|off)',
            r'TODO',
            r'FIXME',
            r'WARNING',
            r'NOTE',
            r'TEST',
            r'DOCU',
            r'XXX',
        ],
    }
}

eric ide

mercurial