File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed
Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 python :
10- - 3.7
11- - ' 3.10'
12- - ' 3.11'
10+ - " 3.7"
11+ - " 3.10"
12+ - " 3.11"
13+ # Workaround for actions/setup-python#508
14+ dev :
15+ - -dev
1316 platform :
1417 - ubuntu-latest
1518 - macos-latest
1619 - windows-latest
20+ include :
21+ - python : pypy3.9
22+ platform : ubuntu-latest
1723 runs-on : ${{ matrix.platform }}
1824 steps :
1925 - uses : actions/checkout@v3
2430 - name : Setup Python
2531 uses : actions/setup-python@v4
2632 with :
27- python-version : ${{ matrix.python }}- dev
33+ python-version : ${{ matrix.python }}${{ matrix. dev }}
2834 - name : Install tox
2935 run : |
3036 python -m pip install tox
7480 - name : Setup Python
7581 uses : actions/setup-python@v4
7682 with :
77- python-version : " 3.11-dev"
83+ python-version : 3.11-dev
7884 - name : Install tox
7985 run : |
8086 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"
69
10+ # Link dates and other references in the changelog
11+ extensions += ['rst.linker' ]
712link_files = {
813 '../CHANGES.rst' : dict (
914 using = dict (GH = 'https://github.com' ),
2833 )
2934}
3035
31- # Be strict about any broken references:
36+ # Be strict about any broken references
3237nitpicky = True
3338
3439# Include Python intersphinx mapping to prevent failures
3843 'python' : ('https://docs.python.org/3' , None ),
3944}
4045
46+ # Preserve authored syntax for defaults
47+ autodoc_preserve_defaults = True
48+
49+ extensions += ['jaraco.tidelift' ]
50+
4151intersphinx_mapping .update (
4252 importlib_resources = (
4353 'https://importlib-resources.readthedocs.io/en/latest/' ,
5161 ('py:class' , 'importlib_metadata.SelectableGroups' ),
5262 ('py:class' , 'importlib_metadata._meta._T' ),
5363]
54-
55- extensions += ['jaraco.tidelift' ]
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ testing =
5454
5555docs =
5656 # upstream
57- sphinx
57+ sphinx >= 3.5
5858 jaraco.packaging >= 9
5959 rst.linker >= 1.9
6060 jaraco.tidelift >= 1.4
You can’t perform that action at this time.
0 commit comments