Skip to content

Commit

Permalink
pickles-in-keras-deprecation - regex
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosQuildu committed Apr 3, 2024
1 parent 3a6867d commit b3e93ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pickles-in-keras-deprecation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ rules:
- pattern: tensorflow.keras.models.load_model($FILE)
- pattern: keras.saving.load_model($FILE)
- pattern: tensorflow.keras.saving.load_model($FILE)
- metavariable-comparison:
- metavariable-regex:
metavariable: $FILE
comparison: re.match(".*\.keras", $FILE)
regex: .*\.keras

0 comments on commit b3e93ed

Please sign in to comment.