Skip to content

Commit 31f7d7c

Browse files
committed
try fix rtd build
1 parent 1549df7 commit 31f7d7c

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

django_typer/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def handle(
172172
:param label: The label to map to an AppConfig instance.
173173
:raises CommandError: If no matching app can be found.
174174
"""
175-
if isinstance(label, AppConfig): # pragma: no cover
175+
if isinstance(label, AppConfig):
176176
return label
177177
try:
178178
return apps.get_app_config(label)

doc/.readthedocs.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@
55
# Required
66
version: 2
77

8+
python:
9+
version: 3.12
10+
install:
11+
- method: poetry
12+
path: .
13+
814
# Set the version of Python and other tools you might need
915
build:
1016
os: ubuntu-22.04
11-
tools:
12-
python: "3.12"
13-
jobs:
14-
post_create_environment:
15-
- pip install poetry
16-
- poetry config virtualenvs.create false
17-
post_install:
18-
- poetry install
17+
# tools:
18+
# python: "3.12"
19+
# jobs:
20+
# post_create_environment:
21+
# - pip install poetry
22+
# - poetry config virtualenvs.create false
23+
# post_install:
24+
# - poetry install
1925

2026
# Build documentation in the docs/ directory with Sphinx
2127
sphinx:

0 commit comments

Comments
 (0)