Skip to content

Commit

Permalink
add check for biblatex styles (.bbx and .cbx)
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-zeng committed May 26, 2023
1 parent aac230a commit 24f8d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def parse(self):
try:
with open(self.path, 'r', encoding='utf-8', errors='replace') as fp:
match os.path.splitext(self.path)[1]:
case '.tex' | '.ltx' | '.cls' | '.sty' | '.def' | '.clo':
case '.tex' | '.ltx' | '.cls' | '.sty' | '.def' | '.clo' | '.bbx' | '.cbx': # noqa: E501
self._parse_tex(fp)
case '.lua':
self._parse_lua(fp)
Expand Down

0 comments on commit 24f8d21

Please sign in to comment.