Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 31, 2022
1 parent 7ae1f8e commit 0a41062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_releaser/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def get_version():
elif PYPROJECT.exists():
text = PYPROJECT.read_text(encoding="utf-8")
data = toml.loads(text)
project = data.get('project', {})
version = project.get('version')
project = data.get("project", {})
version = project.get("version")
if not version: # pragma: no cover
raise ValueError("No version identifier could be found!")
return version
Expand Down

0 comments on commit 0a41062

Please sign in to comment.