Description
The introduction episode states that rule names may not be a keyword, but does not explain which keywords are meant or how to inspect them.
It would be helpful to add a short note covering:
Python keywords can be listed with:
python -c "import keyword; print(keyword.kwlist)"
Snakemake keywords can be inspected directly from the parser source:
# Find the parser file
python -c "import snakemake.parser; print(snakemake.parser.__file__)"
# Then open the file to see the keyword definitions
Description
The introduction episode states that rule names may not be a keyword, but does not explain which keywords are meant or how to inspect them.
It would be helpful to add a short note covering:
Python keywords can be listed with:
python -c "import keyword; print(keyword.kwlist)"Snakemake keywords can be inspected directly from the parser source: