File tree Expand file tree Collapse file tree 3 files changed +31
-16
lines changed
Expand file tree Collapse file tree 3 files changed +31
-16
lines changed Original file line number Diff line number Diff line change 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
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
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
Original file line number Diff line number Diff line change 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
58master_doc = "index"
9+ html_theme = "furo"
610
11+ # Link dates and other references in the changelog
12+ extensions += ['rst.linker' ]
713link_files = {
814 '../CHANGES.rst' : dict (
915 using = dict (GH = 'https://github.com' ),
2834 )
2935}
3036
31- # Be strict about any broken references:
37+ # Be strict about any broken references
3238nitpicky = True
3339
3440# Include Python intersphinx mapping to prevent failures
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+
4152intersphinx_mapping .update (
4253 importlib_resources = (
4354 'https://importlib-resources.readthedocs.io/en/latest/' ,
5162 ('py:class' , 'importlib_metadata.SelectableGroups' ),
5263 ('py:class' , 'importlib_metadata._meta._T' ),
5364]
54-
55- extensions += ['jaraco.tidelift' ]
Original file line number Diff line number Diff 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
5355docs =
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
You can’t perform that action at this time.
0 commit comments