3 ms·
It's not necessary with Python either. In Ruby you've got rbenv in place of pyenv. Pytest is excellent and I'd recommend it. But literally everything else is
by coffeefirst 5y ago
It's not necessary with Python either.
In Ruby you've got rbenv in place of pyenv.
Pytest is excellent and I'd recommend it.
But literally everything else is optional or completely insane. This is not "best practice," its the entire kitchen sink. You might use a linter, or you might just try to write clean code. You might use Poetry, but frankly, the default pip installer is fine for most people most of the time. Installing and configuring something to sort imports for you is just silly, and pre-commit hooks are a terrible idea that just get in the way.
My recommendation would be to avoid adding tooling until you have a problem it solves, and focus on building something useful instead. I imagine that's true of most languages.
- cutler 5y agoWith pyenv when I upgrade from 3.9.5 to 3.9.6 I have to re-install all my packages. Not so with rbenv.