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
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.13", "3.13t"]
python-version: ["3.9", "3.14", "3.14t"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: Quansight-Labs/setup-python@v5 # until https://github.com/actions/setup-python/issues/771 is resolved
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install
Expand All @@ -23,7 +23,7 @@ jobs:
python -m pip install .
- name: Test
run: |
pytest --cov .
PYTHONWARNINGS=error pytest --cov --durations=10 .
# https://github.com/marketplace/actions/codecov
- name: Codecov Report
uses: codecov/codecov-action@v4
Expand Down
3 changes: 3 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ python:
path: .
extra_requirements:
- docs

sphinx:
configuration: docs/source/conf.py
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ keywords = pprint pformat ptree pretty print tree format formatting
author_email = chris.gfz@gmail.com
author = Christian López Barrón
url = https://github.com/chrizzFTD/printree
# Try to align to https://devguide.python.org/versions/
classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3.14

[options]
packages = find:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_printree.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_flat_list(self):
self.assertEqual(actual, expected)

def test_ascii_with_recursion(self):
"""Confirm multiline key, value and recursion build a similar tree to:
r"""Confirm multiline key, value and recursion build a similar tree to:

.
|-- AB
Expand Down