diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-03-24 16:30:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 16:30:02 +0100 |
commit | fd91d04a2f946c6fe8b31b6f9217a61caab55c7d (patch) | |
tree | cefdda722781e11603468e947f968c1e3883094e /pylintrc | |
parent | bb8e098f5a8c18ac68cebdae12d48138bab858b8 (diff) | |
download | pylint-git-fd91d04a2f946c6fe8b31b6f9217a61caab55c7d.tar.gz |
Create a ``TypeVar`` style for ``invalid-name`` (#5894)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -353,6 +353,9 @@ method-rgx=[a-z_][a-z0-9_]{2,}$ # Naming hint for method names method-name-hint=[a-z_][a-z0-9_]{2,}$ +# Regular expression which can overwrite the naming style set by typevar-naming-style. +#typevar-rgx= + # Regular expression which should only match function or class names that do # not require a docstring. Use ^(?!__init__$)_ to also check __init__. no-docstring-rgx=__.*__ |