increase allowed complexity

This commit is contained in:
Stefan Wojcik 2016-12-04 18:46:56 -05:00
parent 2904ce091b
commit e085f22b9b
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ MATCH_OPERATORS = (COMPARISON_OPERATORS + GEO_OPERATORS +
STRING_OPERATORS + CUSTOM_OPERATORS)
# TODO make this less complex
def query(_doc_cls=None, **kwargs):
"""Transform a query from Django-style format to Mongo format.
"""

View File

@ -9,5 +9,5 @@ tests = tests
[flake8]
ignore=E501,F401,F403,F405,I201
exclude=build,dist,docs,venv,.tox,.eggs,tests
max-complexity=42
max-complexity=45
application-import-names=mongoengine,tests