-
Notifications
You must be signed in to change notification settings - Fork 37
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
Consider switching to separate test executables instead of pytest plugins #48
Comments
I'd surely consider switching, but let me first capture the reasons I enjoy the plugin-based approach:
I do recognize there are some disadvantages to the plugin-based approach:
I derive a lot of value from the plugins. They streamline my workflow and lower the investment I need to make in the project to achieve the same results. I'm really quite happy with them. Can someone make a compelling case why the plugins should be avoided and propose an approach that minimizes the lost value from the advantages above? |
I'll welcome feedback on this approach, but for now, I see no compelling reason to switch and lots of compelling reasons not to switch. |
Makes sense.
Makes sense too. If the code is not committed yet, then I have to run
Running linters after pulling the remote code is useless because this code is already linted a priori.
Pre-commit hooks' versions can be auto-updated at your CI/CD via a bot. If you are talking that you never and nowhere pin your dependencies, then I have bad news for you: you do not have stable and reproducible builds.
In my organization every developer must have installed "pre-commit" Git hooks, so pushing a non-linted code to remote is almost impossible.
Yes, because they are like a "middle man" between linters and Pytest. -- PS: |
@jaraco would you consider switching from pytest-black to fully blown pre-commit with black, flake8 & co ?
Originally posted by @RonnyPfannschmidt in jaraco/backports.functools_lru_cache#14 (comment)
The text was updated successfully, but these errors were encountered: