Skip to content

Instantly share code, notes, and snippets.

@dlqqq
Created February 20, 2023 21:10
Show Gist options
  • Save dlqqq/140a98a80ed22ef836e5e549cf3e1203 to your computer and use it in GitHub Desktop.
Save dlqqq/140a98a80ed22ef836e5e549cf3e1203 to your computer and use it in GitHub Desktop.
[build-system]
requires = ["hatchling", "jupyterlab~=3.6"]
build-backend = "hatchling.build"
[project]
name = "hatch-playground"
description = ''
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
keywords = []
authors = [
{ name = "David L. Qiu", email = "david@qiu.dev" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = []
dynamic = ["version"]
[project.urls]
Documentation = "https://github.com/unknown/hatch-playground#readme"
Issues = "https://github.com/unknown/hatch-playground/issues"
Source = "https://github.com/unknown/hatch-playground"
[tool.hatch.version]
path = "hatch_playground/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"jupyterlab~=3.6",
"pytest",
"pytest-cov"
]
post-install-commands = [
"jupyter lab --version"
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_playground --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"hatch_playground/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment