Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings from CI #86

Open
stefan6419846 opened this issue Jul 14, 2022 · 0 comments
Open

Deprecation warnings from CI #86

stefan6419846 opened this issue Jul 14, 2022 · 0 comments

Comments

@stefan6419846
Copy link

The latest CI run indicates some deprecations (see https://app.travis-ci.com/github/Afonasev/flake8-plugin-utils):

$ make lint test BIN=""
flake8 --jobs 4 --statistics --show-source flake8_plugin_utils tests
W0503: Deprecated config options were used: not_skip.Please see the 5.0.0 upgrade guide: bit.ly/isortv5.
W0503: Deprecated config options were used: not_skip.Please see the 5.0.0 upgrade guide: bit.ly/isortv5.
W0503: Deprecated config options were used: not_skip.Please see the 5.0.0 upgrade guide: bit.ly/isortv5.
W0503: Deprecated config options were used: not_skip.Please see the 5.0.0 upgrade guide: bit.ly/isortv5.

[...]

../../../virtualenv/python3.6.7/lib/python3.6/site-packages/_pytest/config/__init__.py:1184

  /home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/_pytest/config/__init__.py:1184: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.

    _pytest.deprecated.STRICT_OPTION, stacklevel=2

-- Docs: https://docs.pytest.org/en/stable/warnings.html

The isort issues probably can be fixed by just removing the corresponding option, see https://pycqa.github.io/isort/docs/upgrade_guides/5.0.0.html#not_skip. The pytest issue is documented at https://docs.pytest.org/en/7.0.x/deprecations.html#the-strict-command-line-option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant