-
Notifications
You must be signed in to change notification settings - Fork 361
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
Tox : removed tests/extract #6362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving the configuration inside of tox.ini
will have some unintended problems.
I believe we were talking about using pyproject.toml
?
For instance, flake8 does not work well outside of a tox environment. In a sense, this change will make the coupling between tox and Treeherder too strong.
If you follow these set up steps [1] and then run flake8
you will see what will happen.
[1] Set up steps
armenzg@Armens-MacBook-Pro treeherder % python -m venv venv
armenzg@Armens-MacBook-Pro treeherder % source venv/bin/activate
(venv) armenzg@Armens-MacBook-Pro treeherder % pip install -r requirements/dev.txt && pip install -r requirements/common.txt
Instead of trying to delete setup.cfg in one shot focus on handling flake8 well that way the PR will be smaller and less convoluted. |
Yes sir. We discussed about pyproject.toml file, but flake8 hasn't yet implemented it's support officially. I did try to check the changes. Will handle flake8 better. Pytest is working as expected! |
I don't want us to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as changes requested so it doesn't show as a pending review.
@armenzg both flake8 and pytest do not support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the case then we should stick to using setup.cfg
. I'm not going to break the behaviour I discussed for no tangible gain besides 1 less file in the repo.
Do you want to open a new PR for the --ignore
change?
@armenzg shifted flake8 and pytest configuration to tox.ini file. Both of them are tested!