From b3977b47b30abc3b6d9d7d1f3defdf09b7eb6da7 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Sat, 7 Dec 2024 12:00:52 +0300 Subject: [PATCH] Update bedevere/prtype.py Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- bedevere/prtype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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