Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2024
1 parent 1e0dbe9 commit 71281ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juriscraper/pacer/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def _parse_bankruptcy_short_description(self, subject: str) -> str:
chapter_regex = r"(C[Hh][- ]?(13|7|9|11))|(C[hH][\s-]*$)"
else:
chapter_regex = r"(C[Hh](apter)?[- ]?(13|7|9|11))|(C[hH][\s-]*$)"

cleanup_regex = rf"{component_regex}|{chapter_regex}"
subject = re.sub(cleanup_regex, " ", subject)
subject = subject.strip(" -;:, ")
Expand Down

0 comments on commit 71281ae

Please sign in to comment.