Skip to content

Commit 94a9e6f

Browse files
committed
Rename to async-kernel and drop un-used hatch env tests.
1 parent bbb23fe commit 94a9e6f

File tree

3 files changed

+95
-124
lines changed

3 files changed

+95
-124
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Pre-commit
2+
13
on:
24
pull_request:
35
push:

pyproject.toml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling>=1.4", "jupyter_client>=8"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "async_kernel"
6+
name = "async-kernel"
77

88
dynamic = ["version"]
99
authors = [{name = "IPython Development Team", email = "ipython-dev@python.org"}]
@@ -39,7 +39,7 @@ dependencies = [
3939
# Tracker = ""
4040

4141
[project.scripts]
42-
async_kernel = "async_kernel.__main__:main"
42+
async-kernel = "async_kernel.__main__:main"
4343

4444
[dependency-groups]
4545
docs = [
@@ -82,43 +82,6 @@ path = "src/async_kernel/_version.py"
8282
"data_kernelspec" = "share/jupyter/kernels"
8383

8484

85-
[tool.hatch.envs.docs]
86-
features = ["docs"]
87-
[tool.hatch.envs.docs.scripts]
88-
build = "make -C docs html SPHINXOPTS='-W'"
89-
api = "sphinx-apidoc -o docs/api -f"
90-
91-
[tool.hatch.envs.test]
92-
features = ["test"]
93-
[tool.hatch.envs.test.scripts]
94-
list = "python -m pip freeze"
95-
test = "python -m pytest -vv {args}"
96-
nowarn = "test -W default {args}"
97-
98-
[tool.hatch.envs.cov]
99-
features = ["test", "cov"]
100-
[tool.hatch.envs.cov.scripts]
101-
test = "python -m pytest -vv --cov async_kernel --cov-branch --cov-report term-missing:skip-covered {args}"
102-
nowarn = "test -W default {args}"
103-
104-
[[tool.hatch.envs.cov.matrix]]
105-
qt = ["qt5", "qt6"]
106-
107-
108-
[tool.hatch.envs.typing]
109-
dependencies = ["pre-commit"]
110-
detached = true
111-
112-
[tool.hatch.envs.lint]
113-
dependencies = ["pre-commit"]
114-
detached = true
115-
[tool.hatch.envs.lint.scripts]
116-
build = [
117-
"pre-commit run --all-files ruff",
118-
"pre-commit run --all-files ruff-format"
119-
]
120-
121-
12285
[tool.pytest.ini_options]
12386
minversion = "6.0"
12487
xfail_strict = true
@@ -222,6 +185,7 @@ ignore = ["W002"]
222185
[tool.repo-review.ignore]
223186
PC140 = "doesn't detect basedpyright as a typechecker" # Use a type checker
224187
MY = "Not using mypy yet" # Skip all MyPy
188+
PY007 = "Uses github workflows to run tests for all python and os versions"# Supports an easy task runner
225189

226190
[tool.hatch.metadata]
227191
allow-direct-references = true

0 commit comments

Comments
 (0)