File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed 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
40+ nitpick_ignore : list [tuple [str , str ]] = []
3741
3842# Include Python intersphinx mapping to prevent failures
3943# jaraco/skeleton#51
4549# Preserve authored syntax for defaults
4650autodoc_preserve_defaults = True
4751
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+
4863extensions += ['jaraco.tidelift' ]
4964
5065intersphinx_mapping .update (
6176 ),
6277)
6378
64- nitpick_ignore = [
79+ nitpick_ignore + = [
6580 # Workaround for #316
6681 ('py:class' , 'importlib_metadata.EntryPoints' ),
6782 ('py:class' , 'importlib_metadata.PackagePath' ),
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/pytest-perf#16
1718[mypy-pytest_perf.*]
You can’t perform that action at this time.
0 commit comments