Skip to content

Commit 9ffd75a

Browse files
committed
pylint: disable too-many-instance-attributes
1 parent abb1bfe commit 9ffd75a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pylintrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ load-plugins=pylint_copr_plugin
5151
# cyclic-import
5252
# Seems like cyclic-import is just a style check which is not going to be
5353
# fixed: https://github.com/PyCQA/pylint/issues/6983
54-
disable=import-error,too-few-public-methods,consider-using-f-string,cyclic-import
54+
# too-many-instance-attributes
55+
# Local variables are often pretty hard to avoid, yet switching to
56+
# dataclasses almost never makes sense.
57+
disable=import-error,too-few-public-methods,consider-using-f-string,cyclic-import,too-many-instance-attributes
5558

5659
[VARIABLES]
5760
# A regular expression matching names used for dummy variables (i.e. not used).

pylintrc_clients

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ load-plugins=pylint_copr_plugin
2929
# We still support Python 2.7 (EL7) for clients.
3030
# unspecified-encoding
3131
# Python2.7: TypeError: 'encoding' is an invalid keyword argument for this function
32-
disable=import-error,useless-object-inheritance,super-with-arguments,consider-using-f-string,unspecified-encoding
32+
# too-many-instance-attributes
33+
# Local variables are often pretty hard to avoid, yet switching to
34+
# dataclasses almost never makes sense.
35+
disable=import-error,useless-object-inheritance,super-with-arguments,consider-using-f-string,unspecified-encoding,too-many-instance-attributes
3336

3437
[VARIABLES]
3538
# A regular expression matching names used for dummy variables (i.e. not used).

0 commit comments

Comments
 (0)