Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Sep 19, 2024
1 parent 287df04 commit 7f932cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ def bump(force, skip_if_dirty, spec):
metapackage = "jupyter-collaboration"
metapackage_toml_path = HERE / "projects" / metapackage / "pyproject.toml"
metapackage_toml = tomlkit.parse(metapackage_toml_path.read_text())
metapackage_toml.get('project').remove('dependencies')
metapackage_toml.get("project").remove("dependencies")
dependencies = tomlkit.array()
for key in sorted(project_pins):
if key != metapackage.replace('-', '_'):
if key != metapackage.replace("-", "_"):
dependencies.add_line(key + ">=" + project_pins[key])
metapackage_toml.get('project').add('dependencies', dependencies.multiline(True))
metapackage_toml.get("project").add("dependencies", dependencies.multiline(True))
metapackage_toml_path.write_text(tomlkit.dumps(metapackage_toml))

path = HERE.joinpath("package.json")
Expand Down

0 comments on commit 7f932cb

Please sign in to comment.