Probe-Particle / ppafm

Classical force field model for simulating atomic force microscopy images.
MIT License
50 stars 19 forks source link

Formatting #219

Closed NikoOinonen closed 1 year ago

NikoOinonen commented 1 year ago

Added # fmt: off/on according to discussion in #210. Also applied black to a couple of the files.

Also, I found it useful to run black from inside VScode to see immediately what it would look like, so I added the

[tool.black]
line-length = 180

to pyproject.toml, which allows black inside the editor to automatically pick up the correct line length.

NikoOinonen commented 1 year ago

With this I'm happy if we just run black over the whole repo. I'll leave it to @ProkopHapala to check if he has any more things that need manual formatting.