Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Nov 10, 2024
1 parent a325f7d commit 5883a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hatch/cli/version/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def version(app: Application, *, desired_version: str | None, force: bool):
file = tomlkit.toml_file.TOMLFile(app.project.location.joinpath('pyproject.toml'))

data = file.read()
data['project']['version'] = updated_version # type: ignore
data['project']['version'] = updated_version # type: ignore[index]
file.write(data)

app.display_info(f'Old: {original_version}')
Expand Down

0 comments on commit 5883a49

Please sign in to comment.