PiSCAT should pass all the usual Python style guides, such as PEP8, and avoid the most notorious kinds of error prone constructs. Luckily, there are tools such as Flake8, Black, and Ruff that can ensure that all code obeys these rules.
We should make PiSCAT pass all the usual checks from these tools, and then enable them automatically as git hooks for all developers.
One important thing that should be agreed upon is the maximum admissible line length. PEP8 uses a maximum of 79 characters, but on today's very wide screens, we could probably go for something like 99 characters. Either limit will bring substantial changes to the code base, because the current code base has many lines of far longer than 100 characters.