Skip to content

Commit

Permalink
Run lint when bumping version (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet authored Dec 12, 2023
1 parent 3178d8e commit 78cb44b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def install_dependencies() -> None:
import jupyterlab
except ImportError:
pkgs.append("jupyterlab~=4.0")

if pkgs:
run([sys.executable, "-m", "pip", "install"] + pkgs)

Expand Down Expand Up @@ -75,6 +75,7 @@ def bump(force: bool, spec: str) -> None:
else:
raise FileNotFoundError(f"Could not find package.json under dir {path!s}")

run(["jlpm", "run", "lint"])

if __name__ == "__main__":
parser = argparse.ArgumentParser("bump_version", "Bump package version")
Expand Down

0 comments on commit 78cb44b

Please sign in to comment.