Skip to content

Commit

Permalink
Rename extras to align with core metadata spec.
Browse files Browse the repository at this point in the history
Closes #125.
  • Loading branch information
jaraco committed May 31, 2024
1 parent 67aab15 commit a595a0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ python:
install:
- path: .
extra_requirements:
- docs
- doc

# required boilerplate readthedocs/readthedocs.org#10401
build:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dynamic = ["version"]
Homepage = "https://github.com/PROJECT_PATH"

[project.optional-dependencies]
testing = [
test = [
# upstream
"pytest >= 6, != 8.1.*",
"pytest-checkdocs >= 2.4",
Expand All @@ -36,7 +36,7 @@ testing = [

# local
]
docs = [
doc = [
# upstream
"sphinx >= 3.5",
"jaraco.packaging >= 9.3",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ commands =
pytest {posargs}
usedevelop = True
extras =
testing
test

[testenv:diffcov]
description = run tests and check that diff from main is covered
Expand All @@ -22,8 +22,8 @@ commands =
[testenv:docs]
description = build the documentation
extras =
docs
testing
doc
test
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
Expand Down

0 comments on commit a595a0f

Please sign in to comment.