Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
# Conflicts:
#	mypy.ini
  • Loading branch information
jaraco committed Aug 29, 2024
2 parents 381b692 + 2beb8b0 commit 31f5b31
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from __future__ import annotations


extensions = [
'sphinx.ext.autodoc',
'jaraco.packaging.sphinx',
Expand Down Expand Up @@ -30,6 +33,7 @@

# Be strict about any broken references
nitpicky = True
nitpick_ignore: list[tuple[str, str]] = []

# Include Python intersphinx mapping to prevent failures
# jaraco/skeleton#51
Expand All @@ -40,3 +44,14 @@

# Preserve authored syntax for defaults
autodoc_preserve_defaults = True

# Add support for linking usernames, PyPI projects, Wikipedia pages
github_url = 'https://github.com/'
extlinks = {
'user': (f'{github_url}%s', '@%s'),
'pypi': ('https://pypi.org/project/%s', '%s'),
'wiki': ('https://wikipedia.org/wiki/%s', '%s'),
}
extensions += ['sphinx.ext.extlinks']

# local
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enable_error_code = ignore-without-code
explicit_package_bases = True

disable_error_code =
# Disabled due to many false-positives
# Disable due to many false positives
overload-overlap,

# asweigart/pyperclip#210
Expand Down

0 comments on commit 31f5b31

Please sign in to comment.