Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2023
1 parent 24f620b commit 888a93d
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 61 deletions.
7 changes: 6 additions & 1 deletion tests/data/create_cmdclass/myproject/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[build-system]
requires = ["jupyter_packaging==0.7.9", "jupyterlab==3.*", "setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
requires = [
"jupyter_packaging==0.7.9",
"jupyterlab==3.*",
"setuptools>=40.8",
"wheel",
]
71 changes: 36 additions & 35 deletions tests/data/create_cmdclass/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling>=1.3.1",
"jupyterlab==3.*",
"hatchling>=1.3.1",
"jupyterlab==3.*",
]
build-backend = "hatchling.build"

[project]
name = "myproject"
version = "0.1.0.dev0"
description = "A Custom Jupyter Widget Library"
readme = "README.md"
keywords = [
"IPython",
"Jupyter",
"Widgets",
]
license = { file = "LICENSE.txt" }
requires-python = ">=3.6"
authors = [
{ name = "me", email = "me@me.com" },
]
keywords = [
"IPython",
"Jupyter",
"Widgets",
]
requires-python = ">=3.6"
classifiers = [
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"ipywidgets>=7.0.0",
"ipywidgets>=7",
]
version = "0.1.0.dev0"

[project.optional-dependencies]
docs = [
"jupyter_sphinx",
"nbsphinx",
"nbsphinx-link",
"pypandoc",
"pytest_check_links",
"recommonmark",
"sphinx>=1.5",
"sphinx_rtd_theme",
"jupyter_sphinx",
"nbsphinx",
"nbsphinx-link",
"pypandoc",
"pytest_check_links",
"recommonmark",
"sphinx>=1.5",
"sphinx_rtd_theme",
]
examples = [
]
examples = []
test = [
"nbval",
"pytest-cov",
"pytest>=4.6",
"nbval",
"pytest>=4.6",
"pytest-cov",
]

[project.urls]
Homepage = "https://github.com/myorg/myproject"

Expand Down
5 changes: 4 additions & 1 deletion tests/data/npm_builder/myextension/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=3.1"]
build-backend = "jupyter_packaging.build_api"
requires = [
"jupyter_packaging<2,~=0.10",
"jupyterlab~=3.1",
]

[tool.jupyter-packaging.options]
skip-if-exists = ["myextension/labextension/static/style.js"]
Expand Down
49 changes: 25 additions & 24 deletions tests/data/npm_builder/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling>=1.3.1",
"jupyterlab~=3.1"
"hatchling>=1.3.1",
"jupyterlab~=3.1",
]
build-backend = "hatchling.build"

[project]
name = "myextension"
version = "0.1.0"
description = "A JupyterLab extension."
readme = "README.md"
keywords = [
"Jupyter",
"JupyterLab",
"JupyterLab3",
]
license = { file = "LICENSE" }
requires-python = ">=3.7"
authors = [
{ name = "me", email = "me@me.com" },
]
keywords = [
"Jupyter",
"JupyterLab",
"JupyterLab3",
]
requires-python = ">=3.7"
classifiers = [
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
]
dependencies = []
version = "0.1.0"

[project.urls]
Homepage = "https://github.com/github_username/myextension"

Expand Down

0 comments on commit 888a93d

Please sign in to comment.