\(\newcommand{L}[1]{\| #1 \|}\newcommand{VL}[1]{\L{ \vec{#1} }}\newcommand{R}[1]{\operatorname{Re}\,(#1)}\newcommand{I}[1]{\operatorname{Im}\, (#1)}\)

Git / github workflow, the Python path

What branch should I use?

  • Never use master;
  • Make a new branch for each new bit of work.

Adding stuff to the Python PATH

The mystery of where mymodule comes from, when you do import mymodule.

See: Where does Python look for modules?.

Testing with assert

Some live coding

With guest editor Stéfan van der Walt:

  • making issues;
  • feature branches;
  • pull requests;
  • responding to comments on pull requests;
  • merging pull requests with the “Merge” button on Github.

Git workflow

See: Git workflow exercises.