diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7734cd4..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: @@ -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 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 "]