bobtemplates.plone
bobtemplates.plone copied to clipboard
Errors with `bobtemplates.plone` with version `>=6.0` caused by missing `tox.ini` file
Description
Versions 6.0
, 6.1
, and 6.2
of bobtemplates.plone
raise following errors (both in Linux and Windows):
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
Error on isort-apply:
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
Error on black-enforce:
With older versions 6.0bx
or <=5.22
I didn't get any errors.
Older versions generated/copied a tox.ini
file versions >=6.0
seems not to generate a tox.ini
.
Probably caused by
Since version 6.0 the MANIFEST.in does global-exclude tox.ini
.
Both bobtemplates.plone.utils.run_isort and bobtemplates.plone.utils.run_black start a subprocess calling tox
which fails because there is no tox.ini
.