diff --git a/jupyter_releaser/lib.py b/jupyter_releaser/lib.py index b53c706c..e48baf79 100644 --- a/jupyter_releaser/lib.py +++ b/jupyter_releaser/lib.py @@ -24,7 +24,9 @@ def bump_version(version_spec, version_cmd, changelog_path): """Bump the version and verify new version""" - version = util.bump_version(version_spec, version_cmd=version_cmd, changelog_path=changelog_path) + version = util.bump_version( + version_spec, version_cmd=version_cmd, changelog_path=changelog_path + ) # A properly parsed version will have a "major" attribute parsed = parse_version(version) @@ -51,7 +53,9 @@ def update_dependencies(python_package, python_packages): try: i = python_names.index(dep_name) except ValueError: - raise RuntimeError(f"Package {python_package[1]} depends on {dep_name}, which has not been released yet. Please put the dependency before this package in the python_packages list.") + raise RuntimeError( + f"Package {python_package[1]} depends on {dep_name}, which has not been released yet. Please put the dependency before this package in the python_packages list." + ) dep_path = python_packages[i][0] os.chdir(dep_path) deps[dep_name] = util.get_version() @@ -75,7 +79,6 @@ def _update_dependencies(dependencies, deps): dependencies[i] = k + " ==" + v - def check_links(ignore_glob, ignore_links, cache_file, links_expire): """Check URLs for HTML-containing files.""" cache_dir = osp.expanduser(cache_file).replace(os.sep, "/")