From b7b00fb1b364ecae79bf9e1e5d87168c3eed6ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Linhart?= Date: Wed, 6 Apr 2022 18:08:14 +0200 Subject: [PATCH 1/3] Add project URLs to setup.py Adding project URLs (especially source code URL) makes it easier for dependency management tools (like Renovate). --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 67dc1eef..29438b98 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,11 @@ python_requires=">=3.7", platforms="Linux, Mac OS X, Windows", keywords=["Interactive", "Interpreter", "Shell", "Web"], + project_urls={ + "Documentation": "http://nbformat.readthedocs.io/", + "Source": "https://github.com/jupyter/nbformat", + "Tracker": "https://github.com/jupyter/nbformat/issues", + }, classifiers=[ "Intended Audience :: Developers", "Intended Audience :: System Administrators", From a54c5a9498b3c06e3075d35d705910123345f5d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Apr 2022 16:08:52 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .bumpversion.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 20e32780..5c0adc48 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -5,14 +5,14 @@ message = Bump version: {current_version} → {new_version} tag = False tag_name = {new_version} parse = (?P\d+)\.(?P\d+)\.(?P\d+)((?P[a-z]+)(?P\d+))? -serialize = +serialize = {major}.{minor}.{patch}{release}{build} {major}.{minor}.{patch} [bumpversion:part:release] optional_value = prod first_value = beta -values = +values = beta prod @@ -20,7 +20,7 @@ values = [bumpversion:file:nbformat/_version.py] parse = (?P\d+),\s*(?P\d+),\s*(?P\d+)(,\s*['"](?P[a-z]+)(?P\d+)['"])? -serialize = +serialize = {major}, {minor}, {patch}, "{release}{build}" {major}, {minor}, {patch} @@ -32,6 +32,6 @@ replace = version = "{new_version}" [bumpversion:file:package.json] parse = (?P\d+).(?P\d+).(?P\d+)(-(?P[a-z]+)\.(?P\d+))? -serialize = +serialize = {major}.{minor}.{patch}-{release}.{build} {major}.{minor}.{patch} From 1a8ff132a2c62f8605f6a5b9336d0652a28bef7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Linhart?= Date: Thu, 7 Apr 2022 16:47:07 +0200 Subject: [PATCH 3/3] Add funding URL to setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 29438b98..659fba19 100644 --- a/setup.py +++ b/setup.py @@ -58,6 +58,7 @@ keywords=["Interactive", "Interpreter", "Shell", "Web"], project_urls={ "Documentation": "http://nbformat.readthedocs.io/", + "Funding": "https://numfocus.org/donate-to-jupyter", "Source": "https://github.com/jupyter/nbformat", "Tracker": "https://github.com/jupyter/nbformat/issues", },