Teemu / pytest-sugar

a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)
Other
1.3k stars 73 forks source link

Add black & pre-commit & run isort 🧹 #248

Closed Teemu closed 1 year ago

Teemu commented 1 year ago

I've been using black in my projects for a while and really can't live without it. It solves a lot of boring formatting and once you get used to it, you also become more productive as you forget about formating concerns altogether.

In order to ensure that the formating stays stable, I added pre-commit hooks & CI pipeline for it. Let me know what you think.

justinmayer commented 1 year ago

This got merged before I could comment on it. I will make my suggested (very minor) changes in another PR.