summaryrefslogtreecommitdiff
path: root/pylint/constants.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-01-06 00:03:41 +0100
committerGitHub <noreply@github.com>2022-01-06 00:03:41 +0100
commit29997f81b05b60b6c9749f50e445de2b94e25ed4 (patch)
treed495dc06aaec98dbc79e84f9ef9a5fd37cb40e79 /pylint/constants.py
parent60f60d10132bbbca7e1fda8116aa95adb11b3841 (diff)
downloadpylint-git-29997f81b05b60b6c9749f50e445de2b94e25ed4.tar.gz
Move ``HUMAN_READABLE_TYPES`` to ``constants`` (#5642)
Ref #5311 Co-authored-by: Carli* Freudenberg <carli.freudenberg@energymeteo.de>
Diffstat (limited to 'pylint/constants.py')
-rw-r--r--pylint/constants.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/pylint/constants.py b/pylint/constants.py
index d30b9dd56..eb5b1118a 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -55,3 +55,17 @@ class WarningScope:
full_version = f"""pylint {__version__}
astroid {astroid.__version__}
Python {sys.version}"""
+
+HUMAN_READABLE_TYPES = {
+ "module": "module",
+ "const": "constant",
+ "class": "class",
+ "function": "function",
+ "method": "method",
+ "attr": "attribute",
+ "argument": "argument",
+ "variable": "variable",
+ "class_attribute": "class attribute",
+ "class_const": "class constant",
+ "inlinevar": "inline iteration",
+}