Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Apr 9, 2023
1 parent fbcb0b8 commit 249e57c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions enum_properties/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,12 @@ class FlagProperties(
A Flag that supports properties
"""

def _generate_next_value_(name, start, count, last_values):
def _generate_next_value_(
name,
start,
count,
last_values
): # pylint: disable=E0213
"""
Intermixed property tuples can corrupt the last_values list with
tuples. This method ensures only ints are present in last_values and
Expand All @@ -642,7 +647,12 @@ class IntFlagProperties(
An IntFlag that supports properties.
"""

def _generate_next_value_(name, start, count, last_values):
def _generate_next_value_(
name,
start,
count,
last_values
): # pylint: disable=E0213
"""
Intermixed property tuples can corrupt the last_values list with
tuples. This method ensures only ints are present in last_values and
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ignore=tests
valid-metaclass-classmethod-first-arg = mcs

[pylint.DESIGN]
max-branches=15
max-branches=16
max-locals=20

[pylint.MESSAGES CONTROL]
Expand Down

0 comments on commit 249e57c

Please sign in to comment.