Skip to content

Commit

Permalink
add nit-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Nov 6, 2017
1 parent f4ade02 commit d102b69
Showing 1 changed file with 61 additions and 1 deletion.
62 changes: 61 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,64 @@
]



# Warnings to ignore when using the -n (nitpicky) option
# We should ignore any python built-in exception, for instance
nitpick_ignore = [
('py:exc', 'ArithmeticError'),
('py:exc', 'AssertionError'),
('py:exc', 'AttributeError'),
('py:exc', 'BaseException'),
('py:exc', 'BufferError'),
('py:exc', 'DeprecationWarning'),
('py:exc', 'EOFError'),
('py:exc', 'EnvironmentError'),
('py:exc', 'Exception'),
('py:exc', 'FloatingPointError'),
('py:exc', 'FutureWarning'),
('py:exc', 'GeneratorExit'),
('py:exc', 'IOError'),
('py:exc', 'ImportError'),
('py:exc', 'ImportWarning'),
('py:exc', 'IndentationError'),
('py:exc', 'IndexError'),
('py:exc', 'KeyError'),
('py:exc', 'KeyboardInterrupt'),
('py:exc', 'LookupError'),
('py:exc', 'MemoryError'),
('py:exc', 'NameError'),
('py:exc', 'NotImplementedError'),
('py:exc', 'OSError'),
('py:exc', 'OverflowError'),
('py:exc', 'PendingDeprecationWarning'),
('py:exc', 'ReferenceError'),
('py:exc', 'RuntimeError'),
('py:exc', 'RuntimeWarning'),
('py:exc', 'StandardError'),
('py:exc', 'StopIteration'),
('py:exc', 'SyntaxError'),
('py:exc', 'SyntaxWarning'),
('py:exc', 'SystemError'),
('py:exc', 'SystemExit'),
('py:exc', 'TabError'),
('py:exc', 'TypeError'),
('py:exc', 'UnboundLocalError'),
('py:exc', 'UnicodeDecodeError'),
('py:exc', 'UnicodeEncodeError'),
('py:exc', 'UnicodeError'),
('py:exc', 'UnicodeTranslateError'),
('py:exc', 'UnicodeWarning'),
('py:exc', 'UserWarning'),
('py:exc', 'VMSError'),
('py:exc', 'ValueError'),
('py:exc', 'Warning'),
('py:exc', 'WindowsError'),
('py:exc', 'ZeroDivisionError'),
('py:obj', 'str'),
('py:obj', 'list'),
('py:obj', 'tuple'),
('py:obj', 'int'),
('py:obj', 'float'),
('py:obj', 'bool'),
('py:obj', 'Mapping'),
('py:obj', 'plum'),
]

0 comments on commit d102b69

Please sign in to comment.