Skip to content

Commit

Permalink
attempting python path patching for docs schema generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroxxTraxxon committed Oct 10, 2023
1 parent 91106ff commit 410b034
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ commands =

[testenv:pep8]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
pylint -E --rcfile={toxinidir}/.pylintrc orquesta
Expand All @@ -28,7 +29,8 @@ commands =

[testenv:docs]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-docs.txt
commands =
python {toxinidir}/bin/orquesta-generate-schemas
PYTHONPATH=$PYTHONPATH:{toxinidir} python {toxinidir}/bin/orquesta-generate-schemas
sphinx-build -W -b html docs/source docs/build/html

0 comments on commit 410b034

Please sign in to comment.