Skip to content

Commit

Permalink
🚡 Toil the docs.
Browse files Browse the repository at this point in the history
Suppress nitpicky checks for missing typeshed definitions.
  • Loading branch information
jaraco committed Apr 4, 2024
1 parent eed813b commit bbbd30c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@
# Be strict about any broken references
nitpicky = True


nitpick_ignore = [
('py:class', '_io.BufferedRandom'),
('py:class', '_io.BufferedReader'),
('py:class', '_io.BufferedWriter'),
('py:class', '_io.FileIO'),
('py:class', '_io.TextIOWrapper'),
('py:class', 'Literal[-1, 1]'),
('py:class', 'OpenBinaryMode'),
('py:class', 'OpenBinaryModeReading'),
('py:class', 'OpenBinaryModeUpdating'),
('py:class', 'OpenBinaryModeWriting'),
('py:class', 'OpenTextMode'),
]

# Include Python intersphinx mapping to prevent failures
# jaraco/skeleton#51
extensions += ['sphinx.ext.intersphinx']
Expand Down

0 comments on commit bbbd30c

Please sign in to comment.