Orientation with the use of Invoke #3365
-
Hi guys, I have a question not related to the project per se, but curious to get some best practices with the I really liked the fact you have set several constants in the I have basically three questions:
While not directly related to the project itself, I really appreciate the help, it serves as a great opportunity for me to learn about best practices in Python development. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Manoel. Welcome! I appreciate the very thoughtful tone in which you posed your questions. In no particular order:
I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi Justin, likewise, thank you very much for your explanations! It's a small piece of the project and although it does not have direct impact on the codebase, I really appreciate the simplicity and elegance of the solution. I'm studying Invoke to implement it in the cookiecutter template I'm working on and I will be definitely using your solution as a best practice. Thank you once again! |
Beta Was this translation helpful? Give feedback.
Hi Manoel. Welcome! I appreciate the very thoughtful tone in which you posed your questions. In no particular order:
invoke setup
,invoke tests
,invoke lint
, etc.PTY
one you mentioned, while others are probably a form of premature optimization in that they may or may not be sufficiently utilized in subsequent tasks.VENV_BIN
is composed, you may notice two implicit purposes: (1) Invoke the specified executable from within the active virtua…