Skip to content

Commit

Permalink
chore: fix in tomli applied
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Nov 12, 2024
1 parent df6e2c5 commit b82151a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/repo_review/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def pyproject(package: Traversable) -> dict[str, Any]:
pyproject_path = package.joinpath("pyproject.toml")
if pyproject_path.is_file():
with pyproject_path.open("rb") as f:
# Type ignore fixed in https://github.com/hukkin/tomli/pull/215
return tomllib.load(f) # type: ignore[arg-type]
return tomllib.load(f)
return {}


Expand Down

0 comments on commit b82151a

Please sign in to comment.