metomi / fab

Flexible build system for scientific software
https://metomi.github.io/fab/
Other
19 stars 11 forks source link

Streamline testing with tox #288

Closed t00sa closed 3 months ago

t00sa commented 3 months ago

Add a tox configuration file and adjust the gitignore list to account for a few extra files created by the test suite. This should streamline the process of testing changes from the command line.

MatthewHambley commented 3 months ago

I've had a look at the change, I wasn't aware of the "tox" application. It seems interesting but I don't like the fact that it requires double entry of the dependencies. We already have this information in the pyproject.toml file so I don't want it anywhere else.

I looked at the similar "nox" tool but it seems to address this problem with a bit of a hack.

For the moment I'm rejecting this change but if tox or nox improve feel free to raise another.