Skip to content

Commit 3c13751

Browse files
committed
Add (unstable) all extra. Make dev dep group include everything.
1 parent 87e7ccf commit 3c13751

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Changelog = "https://reader.readthedocs.io/en/latest/changelog.html"
5656

5757
# UNSTABLE
5858

59+
all = ["reader[cli,app,unstable-plugins]"]
60+
5961
cli = [
6062
"click>=7",
6163
# for config
@@ -129,6 +131,9 @@ docs = [
129131
]
130132

131133
dev = [
134+
{include-group = "tests"},
135+
{include-group = "typing"},
136+
{include-group = "docs"},
132137
"tox",
133138
"pre-commit",
134139
"build",

run.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ readonly SCRIPT="$PROJECT_ROOT/$( basename "$0" )"
3232

3333

3434
function install-dev {
35-
pip install \
36-
--editable '.[cli,app,unstable-plugins]' \
37-
--group dev --group tests --group typing \
38-
--upgrade --upgrade-strategy eager
35+
pip install -e '.[all]' --group dev --upgrade --upgrade-strategy eager
3936
pre-commit install --install-hooks
4037
}
4138

@@ -160,9 +157,7 @@ function clean-pyc {
160157

161158

162159
function ci-install {
163-
pip install \
164-
--editable '.[cli,app,unstable-plugins]' \
165-
--group tests --group typing
160+
pip install -e '.[all]' --group tests --group typing
166161
}
167162

168163
function ci-run {

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist = coverage-clean,py{313,312,311,py311},coverage-report,typing,docs
33
skip_missing_interpreters = true
44

55
[testenv]
6-
extras = cli, app, unstable-plugins
6+
extras = all
77
dependency_groups = tests
88
allowlist_externals =
99
./run.sh

0 commit comments

Comments
 (0)