henry0312 / pytest-pydocstyle

pytest plugin to run pydocstyle
MIT License
14 stars 3 forks source link

Replace `--strict` command-line option with `--strict-markers` #84

Closed henry0312 closed 2 years ago

henry0312 commented 2 years ago

https://docs.pytest.org/en/latest/deprecations.html#the-strict-command-line-option

$ pytest -s tests
../../../../../../../../../Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195
  /Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(