Commit Graph
7 Commits
Author SHA1 Message Date
Simon Fothergill 39ce08d5ea Set up python project:
- I don't use approval testing, as I like to feel closer to the code whilst testing and for tests to be self contained and not rely on external data that has to be kept up to date and bloats the directory structure.
  - I like to use pdm to manage venvs, dependancies and scripts with one modern tool.
  - I bumped the version number for my version.
  - This is an exercise, no reason to have multiple dependency lists.
  - I find pytest and the plugin easier to use and a threshold helpful.  Unittest adds unnecessary boilerplate code.
  - conftest not needed atm
  - Module level comments are helpful.
  - Use linting, type checking and formatting tools - good practice.
  - Update readme given alterations.
  - Update gitignore to new python environment

N.B.  linting errors left until tests in place.
2026-09-15 20:51:56 +01:00
Emily Bache 469544bd82 Update README.md with -m unittest 2025-07-17 15:44:35 +02:00
emily 58a991fe27 Added approvals version of python test 2025-06-22 17:30:00 +02:00
emily 8e9e31f9b8 Improve docs for python version 2024-06-01 10:13:32 +02:00
emily 4ffad014c6 Fix Python documentation 2023-11-03 16:56:46 +01:00
emily 6df86da845 tweak docs 2023-11-03 15:26:54 +01:00
emily 3fb6c60ad1 Improve Python documentation 2023-11-03 15:14:14 +01:00