Make codespell a docs dependency

This commit is contained in:
Simon Willison 2021-08-03 09:26:39 -07:00
commit 532170fc60
2 changed files with 2 additions and 2 deletions

View file

@ -20,6 +20,6 @@ jobs:
${{ runner.os }}-pip- ${{ runner.os }}-pip-
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install codespell pip install -e '.[docs]'
- name: Check spelling - name: Check spelling
run: codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt run: codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt

View file

@ -65,7 +65,7 @@ setup(
""", """,
setup_requires=["pytest-runner"], setup_requires=["pytest-runner"],
extras_require={ extras_require={
"docs": ["sphinx_rtd_theme", "sphinx-autobuild"], "docs": ["sphinx_rtd_theme", "sphinx-autobuild", "codespell"],
"test": [ "test": [
"pytest>=5.2.2,<6.3.0", "pytest>=5.2.2,<6.3.0",
"pytest-xdist>=2.2.1,<2.4", "pytest-xdist>=2.2.1,<2.4",