Skip to content

Commit

Permalink
Apply pyproject-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Jan 29, 2025
1 parent 6a2443d commit 6cff8bd
Showing 1 changed file with 144 additions and 147 deletions.
291 changes: 144 additions & 147 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,156 +1,153 @@
[build-system]
build-backend = "hatchling.build"

requires = [
"hatchling",
"jupyter_server>=1.17.0",
"babel",
"setuptools",
"babel",
"hatchling",
"jupyter-server>=1.17",
"setuptools",
]
build-backend = "hatchling.build"

[project]
name = "nbclassic"
version = "1.3.0.dev0"

description = "Jupyter Notebook as a Jupyter Server extension."
readme = "README.md"
requires-python = ">=3.8"
authors = [
{ name = "Jupyter Development Team", email = "[email protected]" },
]
keywords = [
"interactive",
"interpreter",
"ipython",
"jupyter",
"shell",
"web",
"interactive",
"interpreter",
"ipython",
"jupyter",
"shell",
"web",
]
license.file = "LICENSE"
authors = [
{ name = "Jupyter Development Team", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"ipykernel",
"ipython_genutils",
"nest-asyncio>=1.5",
"notebook_shim>=0.2.3",
]
version = "1.3.0.dev0"

[project.license]
file = "LICENSE"

[project.optional-dependencies]
docs = [
"myst-parser",
"nbsphinx",
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib_github_alt",
]
json-logging = [
"json-logging",
]
test = [
"coverage",
"nbval",
"pytest",
"pytest-cov",
"pytest-playwright",
"pytest_jupyter",
"pytest_tornasync",
"requests",
"requests-unixsocket; sys_platform != \"win32\"",
"testpath",
]

[project.scripts]
jupyter-nbclassic = "nbclassic.notebookapp:main"
jupyter-nbclassic-bundlerextension = "nbclassic.bundler.bundlerextensions:main"
jupyter-nbclassic-extension = "nbclassic.nbextensions:main"
jupyter-nbclassic-serverextension = "nbclassic.serverextensions:main"

[project.urls]
Homepage = "https://github.com/jupyter/nbclassic"
"ipykernel",
"ipython-genutils",
"nest-asyncio>=1.5",
"notebook-shim>=0.2.3",
]
optional-dependencies.docs = [
"myst-parser",
"nbsphinx",
"sphinx",
"sphinx-rtd-theme",
"sphinxcontrib-github-alt",
]
optional-dependencies.json-logging = [
"json-logging",
]
optional-dependencies.test = [
"coverage",
"nbval",
"pytest",
"pytest-cov",
"pytest-jupyter",
"pytest-playwright",
"pytest-tornasync",
"requests",
"requests-unixsocket; sys_platform!='win32'",
"testpath",
]
urls.Homepage = "https://github.com/jupyter/nbclassic"
scripts.jupyter-nbclassic = "nbclassic.notebookapp:main"
scripts.jupyter-nbclassic-bundlerextension = "nbclassic.bundler.bundlerextensions:main"
scripts.jupyter-nbclassic-extension = "nbclassic.nbextensions:main"
scripts.jupyter-nbclassic-serverextension = "nbclassic.serverextensions:main"

[tool.hatch.build]
artifacts = [
"nbclassic/i18n/*/LC_MESSAGES/*.mo",
"nbclassic/i18n/*/LC_MESSAGES/nbjs.json",
"nbclassic/static/style/*.min.css*",
"nbclassic/static/*/js/built/",
"nbclassic/static/*/built/",
"nbclassic/static/built/",
"nbclassic/static/*/js/main.min.js*",
"nbclassic/static/lab/*bundle.js",
"nbclassic/static/components/**/*.md",
"nbclassic/static/components/**/*.json",
"nbclassic/static/components/backbone/backbone-min.js",
"nbclassic/static/components/bootstrap/dist/js/bootstrap.min.js",
"nbclassic/static/components/bootstrap/less/**/*.less",
"nbclassic/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css",
"nbclassic/static/components/bootstrap-tour/build/js/bootstrap-tour.min.js",
"nbclassic/static/components/bootstrap-tour/**/*.png",
"nbclassic/static/components/bootstrap-tour/**/*.less",
"nbclassic/static/components/codemirror/**/*.js",
"nbclassic/static/components/codemirror/**/*.css",
"nbclassic/static/components/create-react-class/index.js",
"nbclassic/static/components/font-awesome/css/*.css",
"nbclassic/static/components/google-caja/html-css-sanitizer-minified.js",
"nbclassic/static/components/es6-promise/*.js",
"nbclassic/static/components/font-awesome/fonts/*.*",
"nbclassic/static/components/font-awesome/less/*.less",
"nbclassic/static/components/jed/jed.js",
"nbclassic/static/components/jquery/jquery.min.js",
"nbclassic/static/components/jquery-typeahead/dist/jquery.typeahead.min.js",
"nbclassic/static/components/jquery-typeahead/dist/jquery.typeahead.min.css",
"nbclassic/static/components/jquery-ui/dist/jquery-ui.min.js",
"nbclassic/static/components/jquery-ui/dist/themes/smoothness/jquery-ui.min.css",
"nbclassic/static/components/jquery-ui/dist/themes/smoothness/images/*",
"nbclassic/static/components/jquery-ui/dist/themes/*/images/*",
"nbclassic/static/components/jquery-ui/themes/base/images/*",
"nbclassic/static/components/marked/lib/marked.js",
"nbclassic/static/components/react/react.production.min.js",
"nbclassic/static/components/react/react-dom.production.min.js",
"nbclassic/static/components/requirejs/require.js",
"nbclassic/static/components/requirejs-plugins/src/json.js",
"nbclassic/static/components/requirejs-plugins/**/*.png",
"nbclassic/static/components/requirejs-text/text.js",
"nbclassic/static/components/sanitizer/index.js",
"nbclassic/static/components/underscore/underscore-min.js",
"nbclassic/static/components/moment/moment.js",
"nbclassic/static/components/moment/min/*.js",
"nbclassic/static/components/xterm.js/index.js",
"nbclassic/static/components/xterm.js-css/index.css",
"nbclassic/static/components/xterm.js-fit/index.js",
"nbclassic/static/components/text-encoding/lib/encoding.js",
"nbclassic/static/components/MathJax/MathJax.js",
"nbclassic/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js",
"nbclassic/static/components/MathJax/config/Safe.js",
"nbclassic/static/components/MathJax/jax/output/*/*.js",
"nbclassic/static/components/MathJax/jax/output/*/autoload/",
"nbclassic/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/**/*",
"nbclassic/static/components/MathJax/jax/output/SVG/fonts/STIX-Web/**/*",
"nbclassic/static/components/MathJax/localization/",
"nbclassic/static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/**/*",
"nbclassic/static/components/MathJax/fonts/HTML-CSS/TeX/png/**/*.png",
"nbclassic/static/components/MathJax/extensions/",
"nbclassic/static/components/MathJax/jax/input/TeX/**/*",
"nbclassic/static/components/MathJax/jax/element/mml/",
"nbclassic/templates/*",
"nbclassic/tests/*.js",
"nbclassic/tests/**/*.js",
"nbclassic/resources/**/*",
"nbclassic/i18n/*/LC_MESSAGES/*.mo",
"nbclassic/i18n/*/LC_MESSAGES/nbjs.json",
"nbclassic/static/style/*.min.css*",
"nbclassic/static/*/js/built/",
"nbclassic/static/*/built/",
"nbclassic/static/built/",
"nbclassic/static/*/js/main.min.js*",
"nbclassic/static/lab/*bundle.js",
"nbclassic/static/components/**/*.md",
"nbclassic/static/components/**/*.json",
"nbclassic/static/components/backbone/backbone-min.js",
"nbclassic/static/components/bootstrap/dist/js/bootstrap.min.js",
"nbclassic/static/components/bootstrap/less/**/*.less",
"nbclassic/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css",
"nbclassic/static/components/bootstrap-tour/build/js/bootstrap-tour.min.js",
"nbclassic/static/components/bootstrap-tour/**/*.png",
"nbclassic/static/components/bootstrap-tour/**/*.less",
"nbclassic/static/components/codemirror/**/*.js",
"nbclassic/static/components/codemirror/**/*.css",
"nbclassic/static/components/create-react-class/index.js",
"nbclassic/static/components/font-awesome/css/*.css",
"nbclassic/static/components/google-caja/html-css-sanitizer-minified.js",
"nbclassic/static/components/es6-promise/*.js",
"nbclassic/static/components/font-awesome/fonts/*.*",
"nbclassic/static/components/font-awesome/less/*.less",
"nbclassic/static/components/jed/jed.js",
"nbclassic/static/components/jquery/jquery.min.js",
"nbclassic/static/components/jquery-typeahead/dist/jquery.typeahead.min.js",
"nbclassic/static/components/jquery-typeahead/dist/jquery.typeahead.min.css",
"nbclassic/static/components/jquery-ui/dist/jquery-ui.min.js",
"nbclassic/static/components/jquery-ui/dist/themes/smoothness/jquery-ui.min.css",
"nbclassic/static/components/jquery-ui/dist/themes/smoothness/images/*",
"nbclassic/static/components/jquery-ui/dist/themes/*/images/*",
"nbclassic/static/components/jquery-ui/themes/base/images/*",
"nbclassic/static/components/marked/lib/marked.js",
"nbclassic/static/components/react/react.production.min.js",
"nbclassic/static/components/react/react-dom.production.min.js",
"nbclassic/static/components/requirejs/require.js",
"nbclassic/static/components/requirejs-plugins/src/json.js",
"nbclassic/static/components/requirejs-plugins/**/*.png",
"nbclassic/static/components/requirejs-text/text.js",
"nbclassic/static/components/sanitizer/index.js",
"nbclassic/static/components/underscore/underscore-min.js",
"nbclassic/static/components/moment/moment.js",
"nbclassic/static/components/moment/min/*.js",
"nbclassic/static/components/xterm.js/index.js",
"nbclassic/static/components/xterm.js-css/index.css",
"nbclassic/static/components/xterm.js-fit/index.js",
"nbclassic/static/components/text-encoding/lib/encoding.js",
"nbclassic/static/components/MathJax/MathJax.js",
"nbclassic/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js",
"nbclassic/static/components/MathJax/config/Safe.js",
"nbclassic/static/components/MathJax/jax/output/*/*.js",
"nbclassic/static/components/MathJax/jax/output/*/autoload/",
"nbclassic/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/**/*",
"nbclassic/static/components/MathJax/jax/output/SVG/fonts/STIX-Web/**/*",
"nbclassic/static/components/MathJax/localization/",
"nbclassic/static/components/MathJax/fonts/HTML-CSS/STIX-Web/woff/**/*",
"nbclassic/static/components/MathJax/fonts/HTML-CSS/TeX/png/**/*.png",
"nbclassic/static/components/MathJax/extensions/",
"nbclassic/static/components/MathJax/jax/input/TeX/**/*",
"nbclassic/static/components/MathJax/jax/element/mml/",
"nbclassic/templates/*",
"nbclassic/tests/*.js",
"nbclassic/tests/**/*.js",
"nbclassic/resources/**/*",
]

[tool.hatch.build.targets.sdist]
exclude = [
".github",
".github",
]

[tool.hatch.build.targets.wheel.shared-data]
Expand All @@ -160,45 +157,45 @@ exclude = [

[tool.hatch.build.hooks.jupyter-builder]
dependencies = [
"hatch-jupyter-builder>=0.9.1",
"hatch-jupyter-builder>=0.9.1",
]
build-function = "hatch_jupyter_builder.npm_builder"

[tool.pytest.ini_options]
addopts = "--doctest-modules"
norecursedirs = [
"confs",
"confs",
]
testpaths = [
"tests",
"tests",
]

[tool.jupyter-releaser]
skip = [
"check-links",
"check-manifest",
"check-links",
"check-manifest",
]

[tool.jupyter-releaser.hooks]
before-build-python = [
"npm install -g po2json",
"npm install -g po2json",
]

[tool.jupyter-releaser.options]
post-version-spec = "dev"
ignore-glob = [
"docs/source/examples/Notebook/Working With Markdown Cells.ipynb",
"docs-translations/**/README.md",
"docs/source/contributing.rst",
"docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb",
"CHANGELOG.md",
"nbclassic/static/components/**/*.*",
"docs/source/examples/Notebook/Working With Markdown Cells.ipynb",
"docs-translations/**/README.md",
"docs/source/contributing.rst",
"docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb",
"CHANGELOG.md",
"nbclassic/static/components/**/*.*",
]

[tool.tbump]
field = [
{ name = "channel", default = "" },
{ name = "release", default = "" },
{ name = "channel", default = "" },
{ name = "release", default = "" },
]

[tool.tbump.version]
Expand Down

0 comments on commit 6cff8bd

Please sign in to comment.