Sometimes, it is useful for a developer to create a local python code that should not be added to version control. Reserve a dev_*.py name pattern for such files by adding it to .gitignore. The intent is to run such code in a local debugger. Often such codes become the basis for additional unit tests (in which case, they should be converted to such and installed in the appropriate tests subdirectory).
Sometimes, it is useful for a developer to create a local python code that should not be added to version control. Reserve a
dev_*.py
name pattern for such files by adding it to.gitignore
. The intent is to run such code in a local debugger. Often such codes become the basis for additional unit tests (in which case, they should be converted to such and installed in the appropriatetests
subdirectory).