summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/.test_pylintrc1
-rw-r--r--tests/extensions/test_check_docs.py3
-rw-r--r--tests/extensions/test_check_raise_docs.py3
-rw-r--r--tests/extensions/test_check_return_docs.py3
-rw-r--r--tests/extensions/test_check_yields_docs.py3
-rw-r--r--tests/test_self.py2
-rw-r--r--tests/unittest_checker_python3.py2
7 files changed, 16 insertions, 1 deletions
diff --git a/tests/.test_pylintrc b/tests/.test_pylintrc
index 742c074f7..652eed46b 100644
--- a/tests/.test_pylintrc
+++ b/tests/.test_pylintrc
@@ -17,7 +17,6 @@ disable=
redefined-outer-name,
abstract-method,
function-redefined,
- too-many-public-methods,
unused-argument,
undefined-loop-variable,
too-many-ancestors,
diff --git a/tests/extensions/test_check_docs.py b/tests/extensions/test_check_docs.py
index 189dcc4d2..b36e20892 100644
--- a/tests/extensions/test_check_docs.py
+++ b/tests/extensions/test_check_docs.py
@@ -16,6 +16,9 @@
"""Unit tests for the pylint checkers in :mod:`pylint.extensions.check_docs`,
in particular the parameter documentation checker `DocstringChecker`
"""
+
+# pylint: disable=too-many-public-methods
+
import astroid
import pytest
diff --git a/tests/extensions/test_check_raise_docs.py b/tests/extensions/test_check_raise_docs.py
index 010291d9a..dfd90aec2 100644
--- a/tests/extensions/test_check_raise_docs.py
+++ b/tests/extensions/test_check_raise_docs.py
@@ -10,6 +10,9 @@
"""Unit tests for the raised exception documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
"""
+
+# pylint: disable=too-many-public-methods
+
import astroid
from pylint.extensions.docparams import DocstringParameterChecker
diff --git a/tests/extensions/test_check_return_docs.py b/tests/extensions/test_check_return_docs.py
index cb6ea2341..a754492c3 100644
--- a/tests/extensions/test_check_return_docs.py
+++ b/tests/extensions/test_check_return_docs.py
@@ -11,6 +11,9 @@
"""Unit tests for the return documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
"""
+
+# pylint: disable=too-many-public-methods
+
import astroid
from pylint.extensions.docparams import DocstringParameterChecker
diff --git a/tests/extensions/test_check_yields_docs.py b/tests/extensions/test_check_yields_docs.py
index 3107cb2b1..70c8dbd4a 100644
--- a/tests/extensions/test_check_yields_docs.py
+++ b/tests/extensions/test_check_yields_docs.py
@@ -9,6 +9,9 @@
"""Unit tests for the yield documentation checking in the
`DocstringChecker` in :mod:`pylint.extensions.check_docs`
"""
+
+# pylint: disable=too-many-public-methods
+
import astroid
from pylint.extensions.docparams import DocstringParameterChecker
diff --git a/tests/test_self.py b/tests/test_self.py
index 7ef58e050..e4c0c605b 100644
--- a/tests/test_self.py
+++ b/tests/test_self.py
@@ -19,6 +19,8 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
+# pylint: disable=too-many-public-methods
+
import configparser
import contextlib
import json
diff --git a/tests/unittest_checker_python3.py b/tests/unittest_checker_python3.py
index 0bee463ca..8d07f33cc 100644
--- a/tests/unittest_checker_python3.py
+++ b/tests/unittest_checker_python3.py
@@ -15,6 +15,8 @@
"""Tests for the python3 checkers."""
+# pylint: disable=too-many-public-methods
+
import astroid
from pylint import testutils