Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Fix exception cause in config.py (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-RR committed Jun 12, 2020
1 parent ac56b83 commit 9429e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pydocstyle/config.py
Expand Up @@ -463,7 +463,7 @@ def _expand_error_codes(code_parts):
'known errors: %s', part)
expanded_codes.update(codes_to_add)
except TypeError as e:
raise IllegalConfiguration(e)
raise IllegalConfiguration(e) from e

return expanded_codes

Expand Down

0 comments on commit 9429e2f

Please sign in to comment.