• 1 Post
  • 9 Comments
Joined 9 months ago
cake
Cake day: March 1st, 2024

help-circle



  • To keep it simple

    testing and static type checking – catches all the bugs

    linting and formatters – so git diff isn’t pure noise showing trailing and unnecessary whitespace and collaborators won’t have to go back to correct things that coulda been automagically fixed.

    in code documentation – Can be extracted by Sphinx as part of the documentation process. Hint: interrogate is your friend.

    gh workflows – to have the test suite run against various py versions, os, and maybe architectures. Without which not even confident it runs well on your own machine let alone anywhere else.

    requirements.txt – is an output file. Where is requirements.in ??

    xz hacker sends his love

    Makefile – for people who like a ton of shell scripts in their Python packages. Up until realize that ya know which Python interpreter is being run, but can’t have any level of confidence about the shell interpreter. Cuz it’s a big unknown and unknowable. Gotta just take it on faith.