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

Commit 9429e2f

Browse files
authored
Fix exception cause in config.py (#488)
1 parent ac56b83 commit 9429e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pydocstyle/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def _expand_error_codes(code_parts):
463463
'known errors: %s', part)
464464
expanded_codes.update(codes_to_add)
465465
except TypeError as e:
466-
raise IllegalConfiguration(e)
466+
raise IllegalConfiguration(e) from e
467467

468468
return expanded_codes
469469

0 commit comments

Comments
 (0)