Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline testing with tox #288

Closed
wants to merge 2 commits into from

Conversation

t00sa
Copy link
Contributor

@t00sa t00sa commented Mar 7, 2024

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.

t00sa added 2 commits March 7, 2024 15:28
Create a tox configuration file to run the fab test suite, typing and
flake8 tests, and to build the documentation.

Also update .gitignore for the project to exclude the output from
sphinx and a sample psyclone file created by the test suite.
Add details of how to test with tox to the README.md.
@MatthewHambley
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants