Skip to content

Commit 78cb44b

Browse files
authored
Run lint when bumping version (#63)
1 parent 3178d8e commit 78cb44b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/bump_version.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def install_dependencies() -> None:
2323
import jupyterlab
2424
except ImportError:
2525
pkgs.append("jupyterlab~=4.0")
26-
26+
2727
if pkgs:
2828
run([sys.executable, "-m", "pip", "install"] + pkgs)
2929

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

78+
run(["jlpm", "run", "lint"])
7879

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

0 commit comments

Comments
 (0)