File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -598,15 +598,19 @@ def main(fail_on_changes: bool = False) -> None:
598598 raise RuntimeError (
599599 dedent (
600600 """
601- Detected an unexpected change in `tox.ini` that is not reflected
602- in `tox.jinja` and/or `populate_tox.py`.
603-
604- Please make sure to not make manual changes to `tox.ini`. The file
605- is generated from a template in `scripts/populate_tox/tox.jinja`
606- by the `scripts/populate_tox/populate_tox.py` script. Any changes
607- should be made to the template or the script directly and the
608- resulting `tox.ini` file should be generated with:
609-
601+ Detected that `tox.ini` is out of sync with
602+ `scripts/populate_tox/tox.jinja` and/or
603+ `scripts/populate_tox/populate_tox.py`. This might either mean
604+ that `tox.ini` was changed manually, or the `tox.jinja`
605+ template and/or the `populate_tox.py` script were changed without
606+ regenerating `tox.ini`.
607+
608+ Please don't make manual changes to `tox.ini`. Instead, make the
609+ changes to the `tox.jinja` template and/or the `populate_tox.py`
610+ script (as applicable) and regenerate the `tox.ini` file with:
611+
612+ python -m venv toxgen.env
613+ . toxgen.env/bin/activate
610614 pip install -r scripts/populate_tox/requirements.txt
611615 python scripts/populate_tox/populate_tox.py
612616 """
You can’t perform that action at this time.
0 commit comments