Skip to content

Commit

Permalink
Stop ignoring too-many-branches warning in pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlecat committed Jul 14, 2017
1 parent 1b7368b commit 4eaa242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions critiquebrainz/db/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def create(*, entity_id, entity_type, user_id, is_draft, text,
return get_by_id(review_id)


# pylint: disable=too-many-branches
def list_reviews(*, inc_drafts=False, inc_hidden=False, entity_id=None,
entity_type=None, license_id=None, user_id=None,
language=None, exclude=None, sort=None, limit=20,
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=missing-docstring,protected-access,invalid-name,global-statement,fixme,too-many-locals,too-many-branches,redefined-builtin,broad-except,line-too-long,too-many-arguments,too-many-instance-attributes,redefined-outer-name,attribute-defined-outside-init,anomalous-backslash-in-string,too-many-statements,too-few-public-methods,redefined-argument-from-local,too-many-return-statements,too-many-function-args,redefined-argument-from-local,too-many-public-methods
disable=missing-docstring,protected-access,invalid-name,global-statement,fixme,too-many-locals,redefined-builtin,broad-except,line-too-long,too-many-arguments,too-many-instance-attributes,redefined-outer-name,attribute-defined-outside-init,anomalous-backslash-in-string,too-many-statements,too-few-public-methods,redefined-argument-from-local,too-many-return-statements,too-many-function-args,redefined-argument-from-local,too-many-public-methods


[REPORTS]
Expand Down

0 comments on commit 4eaa242

Please sign in to comment.