Skip to content

Commit

Permalink
Merge pull request #10 from Amaym0n/main
Browse files Browse the repository at this point in the history
Issue #9. Fixed decoding
  • Loading branch information
MoranAbadieGatewatcher committed May 19, 2023
2 parents 23d454f + 59015b2 commit a1075eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytest_vulture/vulture/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __reset(self, path: Path):
self._path = path
self._ignored_lines = []
try:
self._content = self._path.read_text(encoding="utf-8")
self._content = self._path.read_text(encoding="utf-8-sig")
self._tree = ast.parse(self._content)
content_split = self._content.split("\n")
index_line = 0
Expand Down

0 comments on commit a1075eb

Please sign in to comment.