Skip to content

Commit 96be958

Browse files
committed
Required to run prospector from readthedocs-ext
1 parent 47f9295 commit 96be958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ repos:
9090
# Because of an issue with pylint's Django utils and PATH environment, we add PYTHONPATH.
9191
# This was used as a hack when running on Circle CI as well
9292
# Once we upgrade to prospector >=1.9, we can remove it again.
93-
entry: env PYTHONPATH=readthedocs:./ DJANGO_SETTINGS_MODULE=readthedocs.settings.test prospector
93+
entry: env PYTHONPATH=readthedocs:../readthedocs.org:./ DJANGO_SETTINGS_MODULE=readthedocs.settings.test prospector
9494
# We have to install the dependencies from an URL since we don't have access to this file easily from pre-commit
9595
additional_dependencies:
9696
- -r

0 commit comments

Comments
 (0)