Skip to content

Commit

Permalink
fix: fix lint, Break up long regex over multiple lines (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Marshall Jackson <amarsjac@amazon.com>
  • Loading branch information
amarsjac authored May 28, 2024
1 parent 2747c67 commit 3801c80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/openjd/model/v2023_09/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ class ValueReferenceConstants(Enum):
# d. Characters commonly disallowed in paths "#", "%", "&", "{", "}", "<", ">",
# "$", "!", "'", "\"", ":", "@", "`", "|", "=".
_file_dialog_filter_pattern_regex = (
rf"(?-m:^(?:\*|\*\.\*|\*\.[^{_Cc_characters}\\/\*\?\[\]#%&\{{\}}<>\$\!'\\\":@`|=]+)\Z)"
rf"(?-m:^(?:\*|\*\.\*|\*\."
rf"[^{_Cc_characters}\\/\*"
rf"\?\[\]#%&\{{\}}<>\$\!'"
rf"\\\":@`|=]+)\Z)"
)


Expand Down

0 comments on commit 3801c80

Please sign in to comment.