summaryrefslogtreecommitdiff
path: root/tests/input/func_i0022.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/input/func_i0022.py')
-rw-r--r--tests/input/func_i0022.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/input/func_i0022.py b/tests/input/func_i0022.py
new file mode 100644
index 000000000..f5b308f70
--- /dev/null
+++ b/tests/input/func_i0022.py
@@ -0,0 +1,22 @@
+"""Deprecated suppression style."""
+
+__revision__ = None
+
+a = 1 # pylint: disable=invalid-name
+b = 1 # pylint: disable-msg=invalid-name
+
+# pylint: disable=invalid-name
+c = 1
+# pylint: enable=invalid-name
+
+# pylint: disable-msg=invalid-name
+d = 1
+# pylint: enable-msg=invalid-name
+
+# pylint: disable-msg=C0103
+e = 1
+# pylint: enable-msg=C0103
+
+# pylint: disable=C0103
+f = 1
+# pylint: enable=C0103