[Tutor] ModuleNotFoundError in Terminal, PyCharm OK

Mats Wichmann mats at wichmann.us
Wed Jul 12 12:40:28 EDT 2023


On 7/11/23 15:26, trent shipley wrote:

> Please confirm the setuptools build artifacts should go in .gitignore.

What goes in .gitignore has no absolute answer - it's what you don't 
want git to track by default.  Convention is things that will be 
regenerated are not checked in, and you set those to ignore so you don't 
get nagged about files that are present but not tracked.  For Python 
code, a good example is the saved bytecode.

$ git status
...
Untracked files:
   (use "git add <file>..." to include in what will be committed)
...




More information about the Tutor mailing list