The impact of this PR can be seen in inveniosoftware/cookiecutter-invenio-module#135
It fixes compatibility with pytest 6.x (adding filterwarnings = ignore::pytest.PytestDeprecationWarning was unfortunately only a temporary solution ☹️)
By using pytest-pycodestyle we no longer get the deprecation warning from pytest-pep8, and thus don't need to filter the warning.
Isort and pydocstyle can be left outside pytest in run-tests.sh but we would minimum need to change --pep8 to --pycodestyle.
live_server_scope is in order to use pytest-flask latest release, and making it behave like before.
I expect most modules will need to be touched in order to use the latest pytest-invenio, and many will break because they don't have an upper pin on pytest-invenio.
The impact of this PR can be seen in inveniosoftware/cookiecutter-invenio-module#135
filterwarnings = ignore::pytest.PytestDeprecationWarning
was unfortunately only a temporary solution ☹️)--pep8
to--pycodestyle
.I expect most modules will need to be touched in order to use the latest pytest-invenio, and many will break because they don't have an upper pin on pytest-invenio.