Skip to content

Commit f17f1b3

Browse files
authored
Merge branch 'main' into issue-396
2 parents 17cc30e + a676a67 commit f17f1b3

File tree

3 files changed

+31
-16
lines changed

3 files changed

+31
-16
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ jobs:
77
strategy:
88
matrix:
99
python:
10-
# Build on pre-releases until stable, then stable releases.
11-
# actions/setup-python#213
12-
- ~3.7.0-0
13-
- ~3.10.0-0
14-
- ~3.11.0-0
10+
- "3.7"
11+
- "3.10"
12+
- "3.11"
13+
# Workaround for actions/setup-python#508
14+
dev:
15+
- -dev
1516
platform:
1617
- ubuntu-latest
1718
- macos-latest
1819
- windows-latest
1920
include:
21+
- python: pypy3.9
22+
platform: ubuntu-latest
2023
- platform: ubuntu-latest
21-
python: ~3.8.0-0
24+
python: "3.8"
2225
- platform: ubuntu-latest
23-
python: ~3.9.0-0
26+
python: "3.9"
2427
runs-on: ${{ matrix.platform }}
2528
steps:
2629
- uses: actions/checkout@v3
@@ -29,9 +32,9 @@ jobs:
2932
# ref actions/checkout#448
3033
fetch-depth: 0
3134
- name: Setup Python
32-
uses: actions/setup-python@v3
35+
uses: actions/setup-python@v4
3336
with:
34-
python-version: ${{ matrix.python }}
37+
python-version: ${{ matrix.python }}${{ matrix.dev }}
3538
- name: Install tox
3639
run: |
3740
python -m pip install tox
@@ -79,9 +82,9 @@ jobs:
7982
steps:
8083
- uses: actions/checkout@v3
8184
- name: Setup Python
82-
uses: actions/setup-python@v3
85+
uses: actions/setup-python@v4
8386
with:
84-
python-version: "3.10"
87+
python-version: 3.11-dev
8588
- name: Install tox
8689
run: |
8790
python -m pip install tox

docs/conf.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
#!/usr/bin/env python3
22

3-
extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']
3+
extensions = [
4+
'sphinx.ext.autodoc',
5+
'jaraco.packaging.sphinx',
6+
]
47

58
master_doc = "index"
9+
html_theme = "furo"
610

11+
# Link dates and other references in the changelog
12+
extensions += ['rst.linker']
713
link_files = {
814
'../CHANGES.rst': dict(
915
using=dict(GH='https://github.com'),
@@ -28,7 +34,7 @@
2834
)
2935
}
3036

31-
# Be strict about any broken references:
37+
# Be strict about any broken references
3238
nitpicky = True
3339

3440
# Include Python intersphinx mapping to prevent failures
@@ -38,6 +44,11 @@
3844
'python': ('https://docs.python.org/3', None),
3945
}
4046

47+
# Preserve authored syntax for defaults
48+
autodoc_preserve_defaults = True
49+
50+
extensions += ['jaraco.tidelift']
51+
4152
intersphinx_mapping.update(
4253
importlib_resources=(
4354
'https://importlib-resources.readthedocs.io/en/latest/',
@@ -51,5 +62,3 @@
5162
('py:class', 'importlib_metadata.SelectableGroups'),
5263
('py:class', 'importlib_metadata._meta._T'),
5364
]
54-
55-
extensions += ['jaraco.tidelift']

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ testing =
3434
pytest >= 6
3535
pytest-checkdocs >= 2.4
3636
pytest-flake8
37+
# workaround for tholo/pytest-flake8#87
38+
flake8 < 5
3739
pytest-black >= 0.3.7; \
3840
# workaround for jaraco/skeleton#22
3941
python_implementation != "PyPy"
@@ -52,9 +54,10 @@ testing =
5254

5355
docs =
5456
# upstream
55-
sphinx
57+
sphinx >= 3.5
5658
jaraco.packaging >= 9
5759
rst.linker >= 1.9
60+
furo
5861
jaraco.tidelift >= 1.4
5962

6063
# local

0 commit comments

Comments
 (0)