bobtemplates.plone icon indicating copy to clipboard operation
bobtemplates.plone copied to clipboard

Errors with `bobtemplates.plone` with version `>=6.0` caused by missing `tox.ini` file

Open me-kell opened this issue 1 year ago • 0 comments

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.

me-kell avatar Nov 24 '22 22:11 me-kell