Repository: python/bedevere (python)

Issue:
Treat InternalDocs/* like Docs/*?
I.e. add label "docs" (or similar), "skip news", etc.

An example: https://github.com/python/cpython/pull/127687


Pull request description:
Add docs label for markdown files
Closes #656

Patch:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 30d8107..44c9547 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,7 +15,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
+        python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
 
     steps:
       - uses: actions/checkout@v4
diff --git a/bedevere/prtype.py b/bedevere/prtype.py
index 8f58a1c..5136c74 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 == ".rst" or filepath.name == ".nitignore":
+        if filepath.suffix in {".md", ".rst"} or filepath.name == ".nitignore":
             docs = True
         elif filepath.name.startswith(("test_", "_test")):
             tests = True
diff --git a/tox.ini b/tox.ini
index 46b348b..eff2deb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py{313, 312, 311, 310, 39}
+envlist = py{314, 313, 312, 311, 310, 39}
 toxworkdir={env:TOX_WORK_DIR:.tox}
 
 [testenv]


Test patch:
diff --git a/tests/test_prtype.py b/tests/test_prtype.py
index 8cb76da..158b97d 100644
--- a/tests/test_prtype.py
+++ b/tests/test_prtype.py
@@ -66,7 +66,7 @@ async def test_news_only():
 
 
 async def test_docs_no_news():
-    filenames = {"path/to/docs1.rst"}
+    filenames = {"path/to/docs1.rst", "other/path/to/docs2.md"}
     issue = {"labels": [], "labels_url": "https://api.github.com/some/label"}
     gh = FakeGH(getitem=issue)
     event_data = {