Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
ref: ${{ github.event.repository.default_branch }}

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version-file: .python-version-default

Expand All @@ -43,7 +43,7 @@ jobs:
cp docs/source/_templates/redirect.html _build/index.html

- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v4
uses: peaceiris/actions-gh-pages@v4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

steps:
- name: Checkout PyTemplate Project
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version-file: .python-version-default

Expand Down Expand Up @@ -51,10 +51,10 @@ jobs:

steps:
- name: Checkout PyTemplate Project
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Download coverage data
uses: actions/download-artifact@v4
Expand All @@ -95,7 +95,7 @@ jobs:
merge-multiple: true

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version-file: .python-version-default

Expand All @@ -113,7 +113,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Golang
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [{ name = "Jason C Del Rio", email = "spillthetea917@gmail.com" }]
maintainers = [{ name = "Jason C Del Rio", email = "spillthetea917@gmail.com" }]
description = "Project description here."
license = { file = "LICENSE" }
requires-python = ">=3.11"
requires-python = ">=3.8"
keywords = ["keyword1", "keyword2"]
classifiers = ["Programming Language :: Python :: 3"]
dynamic = ["version", "readme", "dependencies"]
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
from PyTemplate import __version__


def test_version_type():
def test_version_type() -> None:
"""Test defined version is a string."""
assert isinstance(__version__, str), "Expected string format version"


def test_version_value():
def test_version_value() -> None:
"""Test version string starts with the letter v."""
assert __version__.lower().startswith("v"), "Expected version to begin with `v`"
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
requires = tox>=4
envlist = type, lint, coverage, docs, py{38,39,310,311,312}-tests
envlist = type, lint, coverage, docs, py{38,39,310,311,312,313}-tests

[testenv]
description = Base Environment
Expand All @@ -12,7 +12,7 @@ commands_pre =
commands =
coverage run --rcfile pyproject.toml -m pytest {posargs}

[testenv:py{38,39,310,311,312}-tests]
[testenv:py{38,39,310,311,312,313}-tests]
description = Run Unit Tests
commands_pre =
{envpython} --version
Expand All @@ -23,7 +23,7 @@ description = Report Code Coverage
skip_install = true
deps = coverage
parallel_show_output = true
depends = py{38,39,310,311,312}-tests
depends = py{38,39,310,311,312,313}-tests
commands =
coverage combine --quiet --rcfile pyproject.toml
coverage report --rcfile pyproject.toml {posargs}
Expand Down
Loading