Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various small improvements and housekeeping #238

Merged
merged 5 commits into from
Apr 27, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
- version: "3.10"
toxenv: py310
- version: "3.11"
toxenv: py311,docs,check-style
toxenv: py311
- version: "3.12"
toxenv: py312,docs,check-style

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
18 changes: 18 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"

python:
install:
- method: pip
path: .
extra_requirements:
- docs

sphinx:
configuration: docs/conf.py
fail_on_warning: true
2 changes: 0 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ Related work
* `f43.me <https://github.com/j0k3r/f43.me>`_ converts feeds to contain the
full article and also improves articles by adding links to the comment
sections of Hacker News and Reddit. Feeds are converted periodically.
* `python-ftr <https://github.com/1flow/python-ftr>`_ is a library to extract
content from pages. A partial reimplementation of Full-Text RSS.

Authors
-------
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
],
)
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38,py39,py310,py311
envlist = py38,py39,py310,py311,py312

[testenv]
description = Run tests
Expand All @@ -9,7 +9,7 @@ commands =

[testenv:fix-style]
description = Fix coding style
basepython = python3.11
basepython = python3.12
skip_install = true
deps =
black
Expand All @@ -26,7 +26,7 @@ commands =

[testenv:check-style]
description = Check coding style
basepython = python3.11
basepython = python3.12
skip_install = true
deps =
black
Expand All @@ -36,6 +36,7 @@ deps =
pycln
pyupgrade
restructuredtext_lint
setuptools
allowlist_externals =
{toxinidir}/bin/pyupgrade
commands =
Expand All @@ -50,6 +51,7 @@ commands =

[testenv:docs]
description = Build documentation
basepython = python3.12
extras = docs
commands =
sphinx-build -W -b html docs/ docs/_build/