Skip to content

Commit 50879bb

Browse files
cenouralmlnielsen
authored andcommitted
pytest: added filterwarning
run-tests: updated isort rules
1 parent 956bd3d commit 50879bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
[pytest]
1010
pep8ignore = docs/conf.py ALL
1111
addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_cache --cov-report=term-missing
12+
filterwarnings = ignore::pytest.PytestDeprecationWarning

run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
export PYTEST_ADDOPTS='docs tests invenio_cache'
1111

1212
pydocstyle invenio_cache tests docs && \
13-
isort -rc -c -df && \
13+
isort invenio_cache tests --check-only --diff && \
1414
check-manifest --ignore ".travis-*" && \
1515
sphinx-build -qnNW docs docs/_build/html && \
1616
python setup.py test

0 commit comments

Comments
 (0)