diff --git a/bedevere/prtype.py b/bedevere/prtype.py index 6bae77a5..e674a6c8 100644 --- a/bedevere/prtype.py +++ b/bedevere/prtype.py @@ -43,7 +43,7 @@ async def classify_by_filepaths(gh, pull_request, filenames): if util.is_news_dir(filename): news = True filepath = pathlib.PurePath(filename) - if filepath.suffix in [".rst", ".md"] or filepath.name == ".nitignore": + if filepath.suffix in [".md", ".rst"] or filepath.name == ".nitignore": docs = True elif filepath.name.startswith(("test_", "_test")): tests = True