From 61c53f260e7d52d93bd43f335fb470b0d8d3e459 Mon Sep 17 00:00:00 2001 From: Bonajo Date: Thu, 5 Mar 2026 15:42:36 +0100 Subject: [PATCH 1/3] fix: add YAML comment styles and update version to 1.1.2 --- codestripper/utils/comments.py | 5 ++++- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/codestripper/utils/comments.py b/codestripper/utils/comments.py index 16c328b..f976f1d 100644 --- a/codestripper/utils/comments.py +++ b/codestripper/utils/comments.py @@ -22,5 +22,8 @@ class Comment: ".r": Comment("#"), ".py": Comment("#"), ".ps1": Comment("#"), - ".rb": Comment("#") + ".rb": Comment("#"), + ".yml": Comment("#"), + ".yaml": Comment("#"), + "": Comment("#"), # Default comment style for unknown file types } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 842aa52..5cdbd09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "codestripper" -version = "1.1.1" +version = "1.1.2" description = "CodeStripper used to strip code from assignments" authors = ["Bonajo "] maintainers = ["Bonajo "] From bd6fb2e2d6c9d9d12e00cf4bd46e3dbe5b16c1ef Mon Sep 17 00:00:00 2001 From: Bonajo Date: Thu, 5 Mar 2026 15:45:44 +0100 Subject: [PATCH 2/3] fix: update Poetry installation to a specific version --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7734cd4..3c793be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install Poetry - uses: snok/install-poetry@v1 + uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a with: virtualenvs-create: true virtualenvs-in-project: true From fbce519e3f64023218c11d83734534cfa755603e Mon Sep 17 00:00:00 2001 From: Bonajo Date: Thu, 5 Mar 2026 15:47:54 +0100 Subject: [PATCH 3/3] fix: drop support for python 3.9 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c793be..df6e4d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] os: ["ubuntu-latest", "windows-latest", "macos-latest"] runs-on: ${{ matrix.os }} steps: