We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f964b commit 2a01abdCopy full SHA for 2a01abd
pylintrc
@@ -1,2 +1,3 @@
1
[TYPECHECK]
2
-ignored-classes=pytest
+ignored-classes=pytest
3
+disable=bad-option-value
pytest_pylint.py
@@ -166,6 +166,11 @@ def pytest_configure(config):
166
config.addinivalue_line('markers', "pylint: Tests which run pylint.")
167
168
169
+# There will be an old-style-class error in Python 2.7,
170
+# or a useless-object-inheritance warning in Python 3.
171
+# If disable any, pylint will have a bad-option-value error in 2.7 or 3.
172
+# Finally I have to disable useless-object-inheritance locally
173
+# and bad-option-value globally.
174
# pylint: disable=too-few-public-methods, useless-object-inheritance
175
class PylintPlugin(object):
176
"""
0 commit comments