Changed
- Made ordering of error messages more strict. Error messages
are grouped by function, then sorted alphabetically, then
sorted in place by their line numbers within the function
groups.
Fixed
- Handle the else branch of try-except statements when searching
for raise statements during analysis.
- Handle empty type in Google-style arguments (previously raised
an exception, now it's a darglint error with a description.)
- Handle exceptions raised by the Python module, ast.
- Handle a bare raise statement within an exception handler.
For example, if you have
try:
raise SyntaxError('Wrong!')
except SyntaxError:
raise
Then you know that you really have to document a syntax
error.