Skip to content

Commit 249e57c

Browse files
committed
fix linting errors
1 parent fbcb0b8 commit 249e57c

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

enum_properties/__init__.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,12 @@ class FlagProperties(
618618
A Flag that supports properties
619619
"""
620620

621-
def _generate_next_value_(name, start, count, last_values):
621+
def _generate_next_value_(
622+
name,
623+
start,
624+
count,
625+
last_values
626+
): # pylint: disable=E0213
622627
"""
623628
Intermixed property tuples can corrupt the last_values list with
624629
tuples. This method ensures only ints are present in last_values and
@@ -642,7 +647,12 @@ class IntFlagProperties(
642647
An IntFlag that supports properties.
643648
"""
644649

645-
def _generate_next_value_(name, start, count, last_values):
650+
def _generate_next_value_(
651+
name,
652+
start,
653+
count,
654+
last_values
655+
): # pylint: disable=E0213
646656
"""
647657
Intermixed property tuples can corrupt the last_values list with
648658
tuples. This method ensures only ints are present in last_values and

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ignore=tests
1313
valid-metaclass-classmethod-first-arg = mcs
1414

1515
[pylint.DESIGN]
16-
max-branches=15
16+
max-branches=16
1717
max-locals=20
1818

1919
[pylint.MESSAGES CONTROL]

0 commit comments

Comments
 (0)