Skip to content

Commit

Permalink
Remove extra entry for Pydantic (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou authored Aug 21, 2023
1 parent d6ff060 commit ba31937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion empack/file_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def match(self, path):
return fnmatch.fnmatch(path, self.pattern)


class FilePattern(RootModel, extra="forbid"):
class FilePattern(RootModel):
root: Union[RegexPattern, UnixPattern]

def match(self, path):
Expand Down

0 comments on commit ba31937

Please sign in to comment.