Skip to content

Commit

Permalink
Merge pull request #217 from code-master5/temporary-pytest-fail-worka…
Browse files Browse the repository at this point in the history
…round

CB-311: Temporary pytest failure workaround
  • Loading branch information
paramsingh committed Oct 24, 2018
2 parents 80166e4 + 4a6a643 commit b7a33e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions critiquebrainz/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def create_app(debug=None, config_path=None):
)

# Template utilities
# TODO (code-master5): disabled no-member warnings just as a workaround to deal with failing tests till the
# issue [https://github.com/PyCQA/pylint/issues/2563] with pylint is resolved
app.jinja_env.add_extension('jinja2.ext.do')
from critiquebrainz.utils import reformat_date, reformat_datetime, track_length, parameterize
from critiquebrainz.frontend.external.musicbrainz_db.entities import get_entity_by_id
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,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,inconsistent-return-statements, keyword-arg-before-vararg
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,inconsistent-return-statements, keyword-arg-before-vararg, no-member


[REPORTS]
Expand Down

0 comments on commit b7a33e7

Please sign in to comment.