Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshhaptik committed Sep 23, 2024
1 parent 40f03e5 commit e9734de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _text_list_for_detection(self, text=None):
- 123 + 456 7890
- {123} {456} 7890
The pattern matches exactly 9 to 12 occurrences of characters that are either: [-(),.+\s{}]
The pattern matches exactly 9 to 12 occurrences of characters that are either one specified in square brackets
"""
phone_number_format_regex = r'[-(),.+\s{}]{9,12}'

Check warning on line 202 in ner_v2/detectors/pattern/phone_number/phone_number_detection.py

View check run for this annotation

Codecov / codecov/patch

ner_v2/detectors/pattern/phone_number/phone_number_detection.py#L202

Added line #L202 was not covered by tests

Expand Down

0 comments on commit e9734de

Please sign in to comment.