Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
End of support for pytest-docstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
henry0312 committed Mar 23, 2020
1 parent 74507cb commit 971e2a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytest_pydocstyle.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import contextlib
import logging
import sys
import warnings

import pydocstyle
import pytest
Expand Down Expand Up @@ -46,6 +47,9 @@ class Item(pytest.Item, pytest.File):
CACHE_KEY = 'pydocstyle/mtimes'

def __init__(self, path, parent, parser):
warnings.warn("pytest-docstyle is no longer supported. "
"Please switch from pytest-docstyle to pytest-pydocstyle "
"(https://pypi.org/project/pytest-pydocstyle/).", DeprecationWarning)
super().__init__(path, parent)
self.add_marker('pydocstyle')
self.parser = parser
Expand Down

0 comments on commit 971e2a2

Please sign in to comment.