Skip to content

Commit

Permalink
use noqa c901
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jun 12, 2017
1 parent fd05141 commit 73e802f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pydantic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_validators(cls):
def validate(cls, value):
return cls(**value)

def _process_values(self, input_data: dict) -> OrderedDict:
def _process_values(self, input_data: dict) -> OrderedDict: # noqa: C901
values = OrderedDict()
errors = OrderedDict()

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ filterwarnings = ignore

[flake8]
max-line-length = 120
# set excessively high for _process_values
max-complexity = 14
max-complexity = 10

[bdist_wheel]
python-tag = py36
Expand Down

0 comments on commit 73e802f

Please sign in to comment.