File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
3+
14extensions = [
25 'sphinx.ext.autodoc' ,
36 'jaraco.packaging.sphinx' ,
3437
3538# Be strict about any broken references
3639nitpicky = True
37- nitpick_ignore = []
40+ nitpick_ignore : list [ tuple [ str , str ]] = []
3841
3942# Include Python intersphinx mapping to prevent failures
4043# jaraco/skeleton#51
4649# Preserve authored syntax for defaults
4750autodoc_preserve_defaults = True
4851
52+ # Add support for linking usernames, PyPI projects, Wikipedia pages
53+ github_url = 'https://github.com/'
54+ extlinks = {
55+ 'user' : (f'{ github_url } %s' , '@%s' ),
56+ 'pypi' : ('https://pypi.org/project/%s' , '%s' ),
57+ 'wiki' : ('https://wikipedia.org/wiki/%s' , '%s' ),
58+ }
59+ extensions += ['sphinx.ext.extlinks' ]
60+
61+ # local
62+
4963extensions += ['jaraco.tidelift' ]
5064
5165nitpick_ignore .extend ([
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ enable_error_code = ignore-without-code
1010# Support namespace packages per https://github.com/python/mypy/issues/14057
1111explicit_package_bases = True
1212
13- # Disable overload-overlap due to many false-positives
14- disable_error_code = overload-overlap
13+ disable_error_code =
14+ # Disable due to many false positives
15+ overload-overlap,
1516
1617# jaraco/zipp#123
1718[mypy-zipp]
You can’t perform that action at this time.
0 commit comments