Skip to content

Commit 2adadb9

Browse files
build(deps-dev): bump sphinx from 8.2.3 to 9.1.0 (#543)
* build(deps-dev): bump sphinx from 8.2.3 to 9.1.0 Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 8.2.3 to 9.1.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst) - [Commits](sphinx-doc/sphinx@v8.2.3...v9.1.0) --- updated-dependencies: - dependency-name: sphinx dependency-version: 9.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update tox.ini to be in line with marshmallow --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Steven Loria <git@stevenloria.com>
1 parent d124f16 commit 2adadb9

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Contributions to the documentation are welcome. Documentation is written in `reS
122122

123123
To build docs and run in watch mode: ::
124124

125-
$ tox -e watch-docs
125+
$ tox -e docs-serve
126126

127127
.. _Sphinx: http://sphinx.pocoo.org/
128128

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Issues = "https://github.com/sloria/TextBlob/issues"
2626
Source = "https://github.com/sloria/TextBlob"
2727

2828
[project.optional-dependencies]
29-
docs = ["sphinx==8.2.3", "sphinx-issues==5.0.1", "PyYAML==6.0.3"]
29+
docs = ["sphinx==9.1.0", "sphinx-issues==5.0.1", "PyYAML==6.0.3"]
3030
tests = ["pytest", "numpy"]
3131
dev = ["textblob[tests]", "tox", "pre-commit>=3.5,<5.0", "pyright", "ruff"]
3232

src/textblob/blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def sentiment_assessments(self):
447447
subjectivity scores for the assessed tokens.
448448
449449
:rtype: namedtuple of the form ``Sentiment(polarity, subjectivity,
450-
assessments)``
450+
assessments)``
451451
"""
452452
return self.analyzer.analyze(self.raw, keep_assessments=True)
453453

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ commands = sphinx-build docs/ docs/_build {posargs}
2323

2424
; Below tasks are for development only (not run in CI)
2525

26-
[testenv:watch-docs]
26+
[testenv:docs-serve]
2727
deps = sphinx-autobuild
2828
extras = docs
29-
commands = sphinx-autobuild --open-browser docs/ docs/_build {posargs} --watch src/textblob --delay 2
29+
commands = sphinx-autobuild --port=0 --open-browser --delay=2 docs/ docs/_build {posargs} --watch src --watch CONTRIBUTING.rst --watch README.rst
3030

31-
[testenv:watch-readme]
31+
[testenv:readme-serve]
3232
deps = restview
3333
skip_install = true
3434
commands = restview README.rst
35+

0 commit comments

Comments
 (0)