Skip to content

Commit d30282f

Browse files
bhrutledgedi
andauthored
Use isolated build for tox. (#229)
This resolves an error when running any tox environment: ``` % tox -e mypy GLOB sdist-make: /Users/bhrutledge/Dev/readme_renderer/setup.py ... running check Traceback (most recent call last): ... File "/Users/bhrutledge/Dev/readme_renderer/readme_renderer/rst.py", line 19, in <module> from docutils.core import publish_parts ModuleNotFoundError: No module named 'docutils' % tox --version 3.24.5 imported from /Users/bhrutledge/.local/pipx/venvs/tox/lib/python3.8/site-packages/tox/__init__.py ``` See https://tox.wiki/en/latest/config.html#conf-isolated_build Co-authored-by: Dustin Ingram <[email protected]>
1 parent 483d527 commit d30282f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[tox]
22
envlist = py36,py37,py38,py39,py310,pep8,packaging,noextra,mypy
3+
isolated_build = True
34

45
[testenv]
56
deps =

0 commit comments

Comments
 (0)