pylint: increase max attributes to 10
In three places we have more than 7 instances attributes, but less then 10; instead of disabling the warning for all these cases, increase the limit to a reasonable size of 10 and re-enable the warnings in all the places.
This commit is contained in:
parent
4b290dd2a4
commit
291fadd0b2
4 changed files with 3 additions and 3 deletions
|
|
@ -201,7 +201,6 @@ class Filesystem:
|
|||
maker(device, self.uuid, self.label)
|
||||
|
||||
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
class Partition:
|
||||
def __init__(self,
|
||||
pttype: str = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue