Skip to content

Commit

Permalink
Fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
cpburnz committed Dec 9, 2023
1 parent 101e628 commit f6bfc89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Updated: 2022-09-01
#

.PHONY: build create-venv help prebuild publish test test-all test-doc update-venv
.PHONY: build create-venv help prebuild publish test test-all test-docs update-venv

help:
@echo "Usage: make [<target>]"
Expand All @@ -22,7 +22,7 @@ help:
@echo " create-venv Create the development Python virtual environment."
@echo " test Run tests using the development virtual environment."
@echo " test-all Run tests using Tox for all virtual environments."
@echo " test-doc Run tests using Tox for just documentation."
@echo " test-docs Run tests using Tox for just documentation."
@echo " update-venv Update the development Python virtual environment."

build: dist-build
Expand All @@ -37,7 +37,7 @@ test: dev-test-primary

test-all: dev-test-all

test-doc: dev-test-doc
test-docs: dev-test-docs

update-venv: dev-venv-install

Expand All @@ -52,13 +52,13 @@ VENV_DIR := ./dev/venv
PYTHON := python3
VENV := ./dev/venv.sh "${VENV_DIR}"

.PHONY: dev-test-all dev-test-doc dev-test-primary dev-venv-base dev-venv-create dev-venv-install
.PHONY: dev-test-all dev-test-docs dev-test-primary dev-venv-base dev-venv-create dev-venv-install

dev-test-all:
${VENV} tox

dev-test-doc:
${VENV} tox -e doc
dev-test-docs:
${VENV} tox -e docs

dev-test-primary:
${VENV} python -m unittest -v
Expand Down
3 changes: 3 additions & 0 deletions pathspec/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
StrPath = Union[str, PathLike]

TStrPath = TypeVar("TStrPath", bound=StrPath)
"""
Type variable for :class:`str` or :class:`os.PathLike`.
"""

NORMALIZE_PATH_SEPS = [
__sep
Expand Down

0 comments on commit f6bfc89

Please sign in to comment.